#404AD1#404AD1

#404AD1 is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 48.9% C 0.204 H 272.8°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#404AD1
RGBrgb(64, 74, 209)
HSLhsl(236, 61%, 54%)
HSVhsv(236, 69%, 82%)
CMYKcmyk(69.4%, 64.6%, 0%, 18%)
CIE-LABlab(38.88, 39.91, -70.71)
CIE-LCHlch(38.88, 81.20, 299.44°)
OKLaboklab(48.93% 0.0101 -0.2042)
OKLCHoklch(48.93% 0.204 272.8)
XYZxyz(16.0679, 10.5894, 61.5064)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404AD1 #D1C740
analogous
#4092D1 #404AD1 #7E40D1
triadic
#404AD1 #D1404A #4AD140
tetradic
#404AD1 #D14092 #D1C740 #40D17E
square
#404AD1 #D14092 #D1C740 #40D17E
split-complementary
#404AD1 #D17E40 #92D140
monochromatic
#1D2479 #2932AB #404AD1 #7179DD #A3A7E9

Accessibility & contrast

On white

6.73
#404AD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#404AD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404AD1
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404AD1#FFFFFF#000000##FFFFFF
##404AD11.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D5
Deuteranopia (green-blind)
#0055CE
Tritanopia (blue-blind)
#006D87
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #404ad1;
/* rgb */ color: rgb(64, 74, 209);
/* oklch */ color: oklch(48.9% 0.204 272.8);
Tailwind
colors: {
  custom: {
    50: '#877de0',
    500: '#404ad1',
    950: '#000000',
  },
}
SCSS
$custom: #404ad1;
$custom-light: #877de0;
$custom-dark: #000000;
JSON
{
  "hex": "#404ad1",
  "rgb": {
    "r": 64,
    "g": 74,
    "b": 209
  },
  "hsl": {
    "h": 235.862,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.4893,
    "c": 0.20447,
    "h": 272.8
  },
  "luminance": 0.10591
}

Semantic roles & 50–950 ramp

primary
#404AD1
secondary
#D5D197
accent
#D944E4
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #404AD1

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

Preview Lab → · Contrast checker → · Palette generator →

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