#404BD1#404BD1

#404BD1 is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 49.1% C 0.203 H 272.7°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#404BD1
RGBrgb(64, 75, 209)
HSLhsl(235, 61%, 54%)
HSVhsv(235, 69%, 82%)
CMYKcmyk(69.4%, 64.1%, 0%, 18%)
CIE-LABlab(39.11, 39.30, -70.33)
CIE-LCHlch(39.11, 80.57, 299.20°)
OKLaboklab(49.1% 0.0094 -0.2031)
OKLCHoklch(49.1% 0.203 272.7)
XYZxyz(16.1352, 10.7240, 61.5289)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404BD1 #D1C640
analogous
#4093D1 #404BD1 #7D40D1
triadic
#404BD1 #D1404B #4BD140
tetradic
#404BD1 #D14093 #D1C640 #40D17D
square
#404BD1 #D14093 #D1C640 #40D17D
split-complementary
#404BD1 #D17D40 #93D140
monochromatic
#1D2479 #2933AB #404BD1 #7179DD #A3A8E9

Accessibility & contrast

On white

6.68
#404BD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#404BD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404BD1
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404BD1#FFFFFF#000000##FFFFFF
##404BD11.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #404bd1;
/* rgb */ color: rgb(64, 75, 209);
/* oklch */ color: oklch(49.1% 0.203 272.7);
Tailwind
colors: {
  custom: {
    50: '#877de0',
    500: '#404bd1',
    950: '#000000',
  },
}
SCSS
$custom: #404bd1;
$custom-light: #877de0;
$custom-dark: #000000;
JSON
{
  "hex": "#404bd1",
  "rgb": {
    "r": 64,
    "g": 75,
    "b": 209
  },
  "hsl": {
    "h": 235.448,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.49099,
    "c": 0.20332,
    "h": 272.7
  },
  "luminance": 0.10726
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #404BD1

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

Preview Lab → · Contrast checker → · Palette generator →

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