#404AD9#404AD9

#404AD9 is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 49.6% C 0.215 H 272.5°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#404AD9
RGBrgb(64, 74, 217)
HSLhsl(236, 67%, 55%)
HSVhsv(236, 71%, 85%)
CMYKcmyk(70.5%, 65.9%, 0%, 14.9%)
CIE-LABlab(39.57, 42.63, -74.17)
CIE-LCHlch(39.57, 85.55, 299.89°)
OKLaboklab(49.65% 0.0095 -0.2144)
OKLCHoklch(49.65% 0.215 272.5)
XYZxyz(17.0833, 10.9956, 66.8542)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404AD9 #D9CF40
analogous
#4097D9 #404AD9 #8240D9
triadic
#404AD9 #D9404A #4AD940
tetradic
#404AD9 #D94097 #D9CF40 #40D982
square
#404AD9 #D94097 #D9CF40 #40D982
split-complementary
#404AD9 #D98240 #97D940
monochromatic
#1A2184 #242EB7 #404AD9 #737AE3 #A6ABED

Accessibility & contrast

On white

6.56
#404AD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#404AD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404AD9
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404AD9#FFFFFF#000000##FFFFFF
##404AD91.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DD
Deuteranopia (green-blind)
#0056D6
Tritanopia (blue-blind)
#00708B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #404ad9;
/* rgb */ color: rgb(64, 74, 217);
/* oklch */ color: oklch(49.6% 0.215 272.5);
Tailwind
colors: {
  custom: {
    50: '#897de6',
    500: '#404ad9',
    950: '#000000',
  },
}
SCSS
$custom: #404ad9;
$custom-light: #897de6;
$custom-dark: #000000;
JSON
{
  "hex": "#404ad9",
  "rgb": {
    "r": 64,
    "g": 74,
    "b": 217
  },
  "hsl": {
    "h": 236.078,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.49647,
    "c": 0.21457,
    "h": 272.5
  },
  "luminance": 0.10997
}

Semantic roles & 50–950 ramp

primary
#404AD9
secondary
#DAD69A
accent
#DF3EEA
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #404AD9

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

Preview Lab → · Contrast checker → · Palette generator →

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