#404AA9#404AA9

#404AA9 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.6% C 0.151 H 274.2°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#404AA9
RGBrgb(64, 74, 169)
HSLhsl(234, 45%, 46%)
HSVhsv(234, 62%, 66%)
CMYKcmyk(62.1%, 56.2%, 0%, 33.7%)
CIE-LABlab(35.70, 26.05, -52.44)
CIE-LCHlch(35.70, 58.56, 296.42°)
OKLaboklab(45.59% 0.0111 -0.1506)
OKLCHoklch(45.59% 0.151 274.2)
XYZxyz(11.7222, 8.8512, 38.6191)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404AA9 #A99F40
analogous
#407EA9 #404AA9 #6A40A9
triadic
#404AA9 #A9404A #4AA940
tetradic
#404AA9 #A9407E #A99F40 #40A96A
square
#404AA9 #A9407E #A99F40 #40A96A
split-complementary
#404AA9 #A96A40 #7EA940
monochromatic
#1E2350 #2F377D #404AA9 #626CC4 #8F95D5

Accessibility & contrast

On white

7.58
#404AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#404AA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404AA9
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404AA9#FFFFFF#000000##FFFFFF
##404AA91.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AC
Deuteranopia (green-blind)
#0050A7
Tritanopia (blue-blind)
#006172
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #404aa9;
/* rgb */ color: rgb(64, 74, 169);
/* oklch */ color: oklch(45.6% 0.151 274.2);
Tailwind
colors: {
  custom: {
    50: '#807cc3',
    500: '#404aa9',
    950: '#000000',
  },
}
SCSS
$custom: #404aa9;
$custom-light: #807cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#404aa9",
  "rgb": {
    "r": 64,
    "g": 74,
    "b": 169
  },
  "hsl": {
    "h": 234.286,
    "s": 45.064,
    "l": 45.686
  },
  "oklch": {
    "l": 0.45585,
    "c": 0.15098,
    "h": 274.2
  },
  "luminance": 0.08852
}

Semantic roles & 50–950 ramp

primary
#404AA9
secondary
#C0BA85
accent
#C853D5
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #404AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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