#404CA9#404CA9

#404CA9 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.0% C 0.148 H 273.5°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#404CA9
RGBrgb(64, 76, 169)
HSLhsl(233, 45%, 46%)
HSVhsv(233, 62%, 66%)
CMYKcmyk(62.1%, 55%, 0%, 33.7%)
CIE-LABlab(36.22, 24.76, -51.59)
CIE-LCHlch(36.22, 57.23, 295.63°)
OKLaboklab(45.98% 0.0092 -0.1481)
OKLCHoklch(45.98% 0.148 273.5)
XYZxyz(11.8579, 9.1225, 38.6644)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404CA9 #A99D40
analogous
#4080A9 #404CA9 #6840A9
triadic
#404CA9 #A9404C #4CA940
tetradic
#404CA9 #A94080 #A99D40 #40A968
square
#404CA9 #A94080 #A99D40 #40A968
split-complementary
#404CA9 #A96840 #80A940
monochromatic
#1E2450 #2F387D #404CA9 #626EC4 #8F97D5

Accessibility & contrast

On white

7.43
#404CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#404CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404CA9
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404CA9#FFFFFF#000000##FFFFFF
##404CA91.007.432.827.43
#FFFFFF7.431.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#095AAC
Deuteranopia (green-blind)
#0051A7
Tritanopia (blue-blind)
#006273
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #404ca9;
/* rgb */ color: rgb(64, 76, 169);
/* oklch */ color: oklch(46.0% 0.148 273.5);
Tailwind
colors: {
  custom: {
    50: '#7f7dc3',
    500: '#404ca9',
    950: '#000000',
  },
}
SCSS
$custom: #404ca9;
$custom-light: #7f7dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#404ca9",
  "rgb": {
    "r": 64,
    "g": 76,
    "b": 169
  },
  "hsl": {
    "h": 233.143,
    "s": 45.064,
    "l": 45.686
  },
  "oklch": {
    "l": 0.45976,
    "c": 0.14834,
    "h": 273.5
  },
  "luminance": 0.09123
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #404CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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