#404BA9#404BA9

#404BA9 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.8% C 0.150 H 273.9°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#404BA9
RGBrgb(64, 75, 169)
HSLhsl(234, 45%, 46%)
HSVhsv(234, 62%, 66%)
CMYKcmyk(62.1%, 55.6%, 0%, 33.7%)
CIE-LABlab(35.96, 25.41, -52.02)
CIE-LCHlch(35.96, 57.89, 296.03°)
OKLaboklab(45.78% 0.0101 -0.1493)
OKLCHoklch(45.78% 0.15 273.9)
XYZxyz(11.7895, 8.9858, 38.6416)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404BA9 #A99E40
analogous
#407FA9 #404BA9 #6940A9
triadic
#404BA9 #A9404B #4BA940
tetradic
#404BA9 #A9407F #A99E40 #40A969
square
#404BA9 #A9407F #A99E40 #40A969
split-complementary
#404BA9 #A96940 #7FA940
monochromatic
#1E2450 #2F377D #404BA9 #626DC4 #8F96D5

Accessibility & contrast

On white

7.51
#404BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#404BA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404BA9
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404BA9#FFFFFF#000000##FFFFFF
##404BA91.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #404ba9;
/* rgb */ color: rgb(64, 75, 169);
/* oklch */ color: oklch(45.8% 0.150 273.9);
Tailwind
colors: {
  custom: {
    50: '#7f7dc3',
    500: '#404ba9',
    950: '#000000',
  },
}
SCSS
$custom: #404ba9;
$custom-light: #7f7dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#404ba9",
  "rgb": {
    "r": 64,
    "g": 75,
    "b": 169
  },
  "hsl": {
    "h": 233.714,
    "s": 45.064,
    "l": 45.686
  },
  "oklch": {
    "l": 0.4578,
    "c": 0.14966,
    "h": 273.9
  },
  "luminance": 0.08987
}

Semantic roles & 50–950 ramp

primary
#404BA9
secondary
#C0B985
accent
#C753D5
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #404BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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