#404DA5#404DA5

#404DA5 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.9% C 0.141 H 273.2°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#404DA5
RGBrgb(64, 77, 165)
HSLhsl(232, 44%, 45%)
HSVhsv(232, 61%, 65%)
CMYKcmyk(61.2%, 53.3%, 0%, 35.3%)
CIE-LABlab(36.20, 22.70, -49.23)
CIE-LCHlch(36.20, 54.22, 294.76°)
OKLaboklab(45.87% 0.0079 -0.1411)
OKLCHoklch(45.87% 0.141 273.2)
XYZxyz(11.5575, 9.1134, 36.7400)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404DA5 #A59840
analogous
#4080A5 #404DA5 #6540A5
triadic
#404DA5 #A5404D #4DA540
tetradic
#404DA5 #A54080 #A59840 #40A565
square
#404DA5 #A54080 #A59840 #40A565
split-complementary
#404DA5 #A56540 #80A540
monochromatic
#1E244D #2F3879 #404DA5 #616DC2 #8D96D3

Accessibility & contrast

On white

7.44
#404DA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #404DA5
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404DA5#FFFFFF#000000##FFFFFF
##404DA51.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175AA8
Deuteranopia (green-blind)
#0051A3
Tritanopia (blue-blind)
#006171
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #404da5;
/* rgb */ color: rgb(64, 77, 165);
/* oklch */ color: oklch(45.9% 0.141 273.2);
Tailwind
colors: {
  custom: {
    50: '#7f7ec0',
    500: '#404da5',
    950: '#000000',
  },
}
SCSS
$custom: #404da5;
$custom-light: #7f7ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#404da5",
  "rgb": {
    "r": 64,
    "g": 77,
    "b": 165
  },
  "hsl": {
    "h": 232.277,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45874,
    "c": 0.14133,
    "h": 273.2
  },
  "luminance": 0.09114
}

Semantic roles & 50–950 ramp

primary
#404DA5
secondary
#BEB683
accent
#C354D4
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #404DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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