#404DB9#404DB9

#404DB9 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.4% C 0.169 H 272.9°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#404DB9
RGBrgb(64, 77, 185)
HSLhsl(234, 49%, 49%)
HSVhsv(234, 65%, 73%)
CMYKcmyk(65.4%, 58.4%, 0%, 27.5%)
CIE-LABlab(37.66, 29.72, -58.73)
CIE-LCHlch(37.66, 65.82, 296.85°)
OKLaboklab(47.43% 0.0087 -0.169)
OKLCHoklch(47.43% 0.169 272.9)
XYZxyz(13.5223, 9.8993, 47.0877)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404DB9 #B9AC40
analogous
#408AB9 #404DB9 #7040B9
triadic
#404DB9 #B9404D #4DB940
tetradic
#404DB9 #B9408A #B9AC40 #40B970
square
#404DB9 #B9408A #B9AC40 #40B970
split-complementary
#404DB9 #B97040 #8AB940
monochromatic
#21275E #303A8C #404DB9 #6B75CC #989FDB

Accessibility & contrast

On white

7.05
#404DB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#404DB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404DB9
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404DB9#FFFFFF#000000##FFFFFF
##404DB91.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBD
Deuteranopia (green-blind)
#0053B7
Tritanopia (blue-blind)
#00677B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #404db9;
/* rgb */ color: rgb(64, 77, 185);
/* oklch */ color: oklch(47.4% 0.169 272.9);
Tailwind
colors: {
  custom: {
    50: '#827ecf',
    500: '#404db9',
    950: '#000000',
  },
}
SCSS
$custom: #404db9;
$custom-light: #827ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#404db9",
  "rgb": {
    "r": 64,
    "g": 77,
    "b": 185
  },
  "hsl": {
    "h": 233.554,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47427,
    "c": 0.16924,
    "h": 272.9
  },
  "luminance": 0.09901
}

Semantic roles & 50–950 ramp

primary
#404DB9
secondary
#C7C18E
accent
#C950D8
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #404DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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