#404CAE#404CAE

#404CAE is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.4% C 0.155 H 273.5°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#404CAE
RGBrgb(64, 76, 174)
HSLhsl(233, 46%, 47%)
HSVhsv(233, 63%, 68%)
CMYKcmyk(63.2%, 56.3%, 0%, 31.8%)
CIE-LABlab(36.58, 26.51, -53.98)
CIE-LCHlch(36.58, 60.14, 296.15°)
OKLaboklab(46.36% 0.0094 -0.1551)
OKLCHoklch(46.36% 0.155 273.5)
XYZxyz(12.3362, 9.3138, 41.1838)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404CAE #AEA240
analogous
#4083AE #404CAE #6B40AE
triadic
#404CAE #AE404C #4CAE40
tetradic
#404CAE #AE4083 #AEA240 #40AE6B
square
#404CAE #AE4083 #AEA240 #40AE6B
split-complementary
#404CAE #AE6B40 #83AE40
monochromatic
#1F2555 #303881 #404CAE #6570C6 #9299D7

Accessibility & contrast

On white

7.33
#404CAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#404CAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404CAE
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404CAE#FFFFFF#000000##FFFFFF
##404CAE1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB1
Deuteranopia (green-blind)
#0051AC
Tritanopia (blue-blind)
#006375
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #404cae;
/* rgb */ color: rgb(64, 76, 174);
/* oklch */ color: oklch(46.4% 0.155 273.5);
Tailwind
colors: {
  custom: {
    50: '#807dc7',
    500: '#404cae',
    950: '#000000',
  },
}
SCSS
$custom: #404cae;
$custom-light: #807dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#404cae",
  "rgb": {
    "r": 64,
    "g": 76,
    "b": 174
  },
  "hsl": {
    "h": 233.455,
    "s": 46.218,
    "l": 46.667
  },
  "oklch": {
    "l": 0.46363,
    "c": 0.15536,
    "h": 273.5
  },
  "luminance": 0.09315
}

Semantic roles & 50–950 ramp

primary
#404CAE
secondary
#C2BC88
accent
#C752D6
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #404CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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