#404CD1#404CD1

#404CD1 is a mid, highly saturated blue. Relative luminance 0.109; OKLCH L 49.3% C 0.202 H 272.5°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#404CD1
RGBrgb(64, 76, 209)
HSLhsl(235, 61%, 54%)
HSVhsv(235, 69%, 82%)
CMYKcmyk(69.4%, 63.6%, 0%, 18%)
CIE-LABlab(39.34, 38.69, -69.95)
CIE-LCHlch(39.34, 79.93, 298.95°)
OKLaboklab(49.27% 0.0087 -0.202)
OKLCHoklch(49.27% 0.202 272.5)
XYZxyz(16.2035, 10.8608, 61.5516)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404CD1 #D1C540
analogous
#4095D1 #404CD1 #7C40D1
triadic
#404CD1 #D1404C #4CD140
tetradic
#404CD1 #D14095 #D1C540 #40D17C
square
#404CD1 #D14095 #D1C540 #40D17C
split-complementary
#404CD1 #D17C40 #95D140
monochromatic
#1D2579 #2934AB #404CD1 #717ADD #A3A8E9

Accessibility & contrast

On white

6.62
#404CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#404CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404CD1
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404CD1#FFFFFF#000000##FFFFFF
##404CD11.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D5
Deuteranopia (green-blind)
#0056CE
Tritanopia (blue-blind)
#006E87
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #404cd1;
/* rgb */ color: rgb(64, 76, 209);
/* oklch */ color: oklch(49.3% 0.202 272.5);
Tailwind
colors: {
  custom: {
    50: '#877ee0',
    500: '#404cd1',
    950: '#000000',
  },
}
SCSS
$custom: #404cd1;
$custom-light: #877ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#404cd1",
  "rgb": {
    "r": 64,
    "g": 76,
    "b": 209
  },
  "hsl": {
    "h": 235.034,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.4927,
    "c": 0.20217,
    "h": 272.5
  },
  "luminance": 0.10862
}

Semantic roles & 50–950 ramp

primary
#404CD1
secondary
#D5D097
accent
#D744E4
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #404CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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