#404BB9#404BB9

#404BB9 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.1% C 0.172 H 273.5°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#404BB9
RGBrgb(64, 75, 185)
HSLhsl(235, 49%, 49%)
HSVhsv(235, 65%, 73%)
CMYKcmyk(65.4%, 59.5%, 0%, 27.5%)
CIE-LABlab(37.16, 31.00, -59.54)
CIE-LCHlch(37.16, 67.13, 297.50°)
OKLaboklab(47.05% 0.0104 -0.1714)
OKLCHoklch(47.05% 0.172 273.5)
XYZxyz(13.3845, 9.6237, 47.0418)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404BB9 #B9AE40
analogous
#4088B9 #404BB9 #7240B9
triadic
#404BB9 #B9404B #4BB940
tetradic
#404BB9 #B94088 #B9AE40 #40B972
square
#404BB9 #B94088 #B9AE40 #40B972
split-complementary
#404BB9 #B97240 #88B940
monochromatic
#21265E #30398C #404BB9 #6B73CC #989EDB

Accessibility & contrast

On white

7.18
#404BB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#404BB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404BB9
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404BB9#FFFFFF#000000##FFFFFF
##404BB91.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBD
Deuteranopia (green-blind)
#0052B7
Tritanopia (blue-blind)
#00667A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #404bb9;
/* rgb */ color: rgb(64, 75, 185);
/* oklch */ color: oklch(47.1% 0.172 273.5);
Tailwind
colors: {
  custom: {
    50: '#837dcf',
    500: '#404bb9',
    950: '#000000',
  },
}
SCSS
$custom: #404bb9;
$custom-light: #837dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#404bb9",
  "rgb": {
    "r": 64,
    "g": 75,
    "b": 185
  },
  "hsl": {
    "h": 234.545,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47054,
    "c": 0.17176,
    "h": 273.5
  },
  "luminance": 0.09625
}

Semantic roles & 50–950 ramp

primary
#404BB9
secondary
#C7C28E
accent
#CC50D8
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #404BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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