#404BD9#404BD9

#404BD9 is a mid, highly saturated blue. Relative luminance 0.111; OKLCH L 49.8% C 0.213 H 272.4°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#404BD9
RGBrgb(64, 75, 217)
HSLhsl(236, 67%, 55%)
HSVhsv(236, 71%, 85%)
CMYKcmyk(70.5%, 65.4%, 0%, 14.9%)
CIE-LABlab(39.80, 42.03, -73.80)
CIE-LCHlch(39.80, 84.93, 299.66°)
OKLaboklab(49.81% 0.0088 -0.2133)
OKLCHoklch(49.81% 0.213 272.4)
XYZxyz(17.1506, 11.1302, 66.8767)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404BD9 #D9CE40
analogous
#4098D9 #404BD9 #8140D9
triadic
#404BD9 #D9404B #4BD940
tetradic
#404BD9 #D94098 #D9CE40 #40D981
square
#404BD9 #D94098 #D9CE40 #40D981
split-complementary
#404BD9 #D98140 #98D940
monochromatic
#1A2284 #242FB7 #404BD9 #737BE3 #A6ABED

Accessibility & contrast

On white

6.51
#404BD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#404BD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404BD9
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404BD9#FFFFFF#000000##FFFFFF
##404BD91.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DD
Deuteranopia (green-blind)
#0057D6
Tritanopia (blue-blind)
#00718B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #404bd9;
/* rgb */ color: rgb(64, 75, 217);
/* oklch */ color: oklch(49.8% 0.213 272.4);
Tailwind
colors: {
  custom: {
    50: '#897de6',
    500: '#404bd9',
    950: '#000000',
  },
}
SCSS
$custom: #404bd9;
$custom-light: #897de6;
$custom-dark: #000000;
JSON
{
  "hex": "#404bd9",
  "rgb": {
    "r": 64,
    "g": 75,
    "b": 217
  },
  "hsl": {
    "h": 235.686,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.49812,
    "c": 0.21346,
    "h": 272.4
  },
  "luminance": 0.11132
}

Semantic roles & 50–950 ramp

primary
#404BD9
secondary
#DAD69A
accent
#DD3EEA
background
#F9F7FE
surface
#F1EEFC
border
#CBC9D5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #404BD9

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#404BD9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva