#404CA6#404CA6

#404CA6 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.7% C 0.144 H 273.6°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#404CA6
RGBrgb(64, 76, 166)
HSLhsl(233, 44%, 45%)
HSVhsv(233, 61%, 65%)
CMYKcmyk(61.4%, 54.2%, 0%, 34.9%)
CIE-LABlab(36.01, 23.71, -50.15)
CIE-LCHlch(36.01, 55.47, 295.30°)
OKLaboklab(45.75% 0.009 -0.1438)
OKLCHoklch(45.75% 0.144 273.6)
XYZxyz(11.5795, 9.0111, 37.1981)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404CA6 #A69A40
analogous
#407FA6 #404CA6 #6740A6
triadic
#404CA6 #A6404C #4CA640
tetradic
#404CA6 #A6407F #A69A40 #40A667
square
#404CA6 #A6407F #A69A40 #40A667
split-complementary
#404CA6 #A66740 #7FA640
monochromatic
#1E244E #2F387A #404CA6 #616CC2 #8D95D3

Accessibility & contrast

On white

7.49
#404CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #404CA6
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404CA6#FFFFFF#000000##FFFFFF
##404CA61.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1159A9
Deuteranopia (green-blind)
#0050A4
Tritanopia (blue-blind)
#006171
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #404ca6;
/* rgb */ color: rgb(64, 76, 166);
/* oklch */ color: oklch(45.7% 0.144 273.6);
Tailwind
colors: {
  custom: {
    50: '#7f7dc1',
    500: '#404ca6',
    950: '#000000',
  },
}
SCSS
$custom: #404ca6;
$custom-light: #7f7dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#404ca6",
  "rgb": {
    "r": 64,
    "g": 76,
    "b": 166
  },
  "hsl": {
    "h": 232.941,
    "s": 44.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.45749,
    "c": 0.14409,
    "h": 273.6
  },
  "luminance": 0.09012
}

Semantic roles & 50–950 ramp

primary
#404CA6
secondary
#BEB784
accent
#C554D4
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #404CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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