#404DAE#404DAE

#404DAE is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.6% C 0.154 H 273.1°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#404DAE
RGBrgb(64, 77, 174)
HSLhsl(233, 46%, 47%)
HSVhsv(233, 63%, 68%)
CMYKcmyk(63.2%, 55.7%, 0%, 31.8%)
CIE-LABlab(36.84, 25.86, -53.56)
CIE-LCHlch(36.84, 59.48, 295.77°)
OKLaboklab(46.56% 0.0084 -0.1538)
OKLCHoklch(46.56% 0.154 273.1)
XYZxyz(12.4057, 9.4527, 41.2070)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404DAE #AEA140
analogous
#4084AE #404DAE #6A40AE
triadic
#404DAE #AE404D #4DAE40
tetradic
#404DAE #AE4084 #AEA140 #40AE6A
square
#404DAE #AE4084 #AEA140 #40AE6A
split-complementary
#404DAE #AE6A40 #84AE40
monochromatic
#1F2555 #303981 #404DAE #6570C6 #929AD7

Accessibility & contrast

On white

7.26
#404DAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#404DAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404DAE
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404DAE#FFFFFF#000000##FFFFFF
##404DAE1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB1
Deuteranopia (green-blind)
#0052AC
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #404dae;
/* rgb */ color: rgb(64, 77, 174);
/* oklch */ color: oklch(46.6% 0.154 273.1);
Tailwind
colors: {
  custom: {
    50: '#807ec7',
    500: '#404dae',
    950: '#000000',
  },
}
SCSS
$custom: #404dae;
$custom-light: #807ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#404dae",
  "rgb": {
    "r": 64,
    "g": 77,
    "b": 174
  },
  "hsl": {
    "h": 232.909,
    "s": 46.218,
    "l": 46.667
  },
  "oklch": {
    "l": 0.46557,
    "c": 0.15406,
    "h": 273.1
  },
  "luminance": 0.09454
}

Semantic roles & 50–950 ramp

primary
#404DAE
secondary
#C2BB88
accent
#C652D6
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #404DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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