#404FA9#404FA9

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

Color values

HEX#404FA9
RGBrgb(64, 79, 169)
HSLhsl(231, 45%, 46%)
HSVhsv(231, 62%, 66%)
CMYKcmyk(62.1%, 53.3%, 0%, 33.7%)
CIE-LABlab(37.01, 22.81, -50.31)
CIE-LCHlch(37.01, 55.24, 294.39°)
OKLaboklab(46.57% 0.0062 -0.1442)
OKLCHoklch(46.57% 0.144 272.4)
XYZxyz(12.0694, 9.5455, 38.7349)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404FA9 #A99A40
analogous
#4083A9 #404FA9 #6640A9
triadic
#404FA9 #A9404F #4FA940
tetradic
#404FA9 #A94083 #A99A40 #40A966
square
#404FA9 #A94083 #A99A40 #40A966
split-complementary
#404FA9 #A96640 #83A940
monochromatic
#1E2550 #2F3A7D #404FA9 #6270C4 #8F99D5

Accessibility & contrast

On white

7.22
#404FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#404FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404FA9
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404FA9#FFFFFF#000000##FFFFFF
##404FA91.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175CAC
Deuteranopia (green-blind)
#0053A7
Tritanopia (blue-blind)
#006474
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #404fa9;
/* rgb */ color: rgb(64, 79, 169);
/* oklch */ color: oklch(46.6% 0.144 272.4);
Tailwind
colors: {
  custom: {
    50: '#7f80c3',
    500: '#404fa9',
    950: '#000000',
  },
}
SCSS
$custom: #404fa9;
$custom-light: #7f80c3;
$custom-dark: #000000;
JSON
{
  "hex": "#404fa9",
  "rgb": {
    "r": 64,
    "g": 79,
    "b": 169
  },
  "hsl": {
    "h": 231.429,
    "s": 45.064,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46574,
    "c": 0.14438,
    "h": 272.4
  },
  "luminance": 0.09547
}

Semantic roles & 50–950 ramp

primary
#404FA9
secondary
#C0B785
accent
#C253D5
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #404FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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