#404DFD

A color in the Blue, Sky, Navy family

#404dfd is a color in the Blue, Sky, Navy family: RGB(64, 77, 253), HSL(236°, 98%, 62%), CMYK(75%, 70%, 0%, 1%). Closest named color: royalblue. Contrast is 5.68:1 on white and 3.7:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#404dfd
RGBrgb(64 77 253)
RGB (legacy)rgb(64, 77, 253)
RGB %rgb(25% 30% 99%)
HSLhsl(236 98% 62%)
HSV / HSBhsv(236, 75%, 99%)
HWBhwb(236 25% 1%)
CMYKcmyk(75%, 70%, 0%, 1%)
CIELAB (D50)lab(41.87 42.27 -90.4)
LCHlch(41.87 99.79 295.06)
OKLaboklab(0.5347 0.0041 -0.255)
OKLCHoklch(0.5347 0.255 270.91)
Decimal4214269

Properties

Color ToneBlue, Sky, Navy
Closest named colorroyalblue ΔE 7.3
Closest web-safe color#3366ff
Hue236°
Saturation (HSL / HSV)98% / 75%
Lightness (HSL)62%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)37% / 34%
Relative luminance (WCAG)0.1349
Red / Green / Blue64 / 77 / 253

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.68:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.70:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 77.4 / -24.3 · As background with white / black text: Lc -82.7 / 26.6

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #404dfd;
  --color-brand-oklch: oklch(53.47% 0.255 270.91);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(64 77 253 / 50%); }
/* Tailwind CSS */
<div class="bg-[#404dfd] text-[#404dfd] border-[#404dfd]">