#404CAA#404CAA

#404CAA is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.1% C 0.150 H 273.5°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#404CAA
RGBrgb(64, 76, 170)
HSLhsl(233, 45%, 46%)
HSVhsv(233, 62%, 67%)
CMYKcmyk(62.4%, 55.3%, 0%, 33.3%)
CIE-LABlab(36.29, 25.11, -52.07)
CIE-LCHlch(36.29, 57.81, 295.74°)
OKLaboklab(46.05% 0.0092 -0.1495)
OKLCHoklch(46.05% 0.15 273.5)
XYZxyz(11.9521, 9.1602, 39.1607)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404CAA #AA9E40
analogous
#4081AA #404CAA #6940AA
triadic
#404CAA #AA404C #4CAA40
tetradic
#404CAA #AA4081 #AA9E40 #40AA69
square
#404CAA #AA4081 #AA9E40 #40AA69
split-complementary
#404CAA #AA6940 #81AA40
monochromatic
#1F2451 #2F387E #404CAA #636EC4 #8F97D5

Accessibility & contrast

On white

7.41
#404CAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#404CAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404CAA
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404CAA#FFFFFF#000000##FFFFFF
##404CAA1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#055AAD
Deuteranopia (green-blind)
#0051A8
Tritanopia (blue-blind)
#006273
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #404caa;
/* rgb */ color: rgb(64, 76, 170);
/* oklch */ color: oklch(46.1% 0.150 273.5);
Tailwind
colors: {
  custom: {
    50: '#807dc4',
    500: '#404caa',
    950: '#000000',
  },
}
SCSS
$custom: #404caa;
$custom-light: #807dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#404caa",
  "rgb": {
    "r": 64,
    "g": 76,
    "b": 170
  },
  "hsl": {
    "h": 233.208,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46053,
    "c": 0.14975,
    "h": 273.5
  },
  "luminance": 0.09161
}

Semantic roles & 50–950 ramp

primary
#404CAA
secondary
#C0B986
accent
#C653D5
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #404CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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