#404DA1#404DA1

#404DA1 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.6% C 0.136 H 273.2°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#404DA1
RGBrgb(64, 77, 161)
HSLhsl(232, 43%, 44%)
HSVhsv(232, 60%, 63%)
CMYKcmyk(60.2%, 52.2%, 0%, 36.9%)
CIE-LABlab(35.93, 21.30, -47.28)
CIE-LCHlch(35.93, 51.86, 294.25°)
OKLaboklab(45.58% 0.0076 -0.1354)
OKLCHoklch(45.58% 0.136 273.2)
XYZxyz(11.1991, 8.9701, 34.8525)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404DA1 #A19440
analogous
#407EA1 #404DA1 #6440A1
triadic
#404DA1 #A1404D #4DA140
tetradic
#404DA1 #A1407E #A19440 #40A164
square
#404DA1 #A1407E #A19440 #40A164
split-complementary
#404DA1 #A16440 #7EA140
monochromatic
#1D2349 #2F3875 #404DA1 #5F6CBF #8B94D1

Accessibility & contrast

On white

7.52
#404DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#404DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404DA1
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404DA1#FFFFFF#000000##FFFFFF
##404DA11.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E59A4
Deuteranopia (green-blind)
#05509F
Tritanopia (blue-blind)
#00606F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #404da1;
/* rgb */ color: rgb(64, 77, 161);
/* oklch */ color: oklch(45.6% 0.136 273.2);
Tailwind
colors: {
  custom: {
    50: '#7e7ebd',
    500: '#404da1',
    950: '#000000',
  },
}
SCSS
$custom: #404da1;
$custom-light: #7e7ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#404da1",
  "rgb": {
    "r": 64,
    "g": 77,
    "b": 161
  },
  "hsl": {
    "h": 231.959,
    "s": 43.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45579,
    "c": 0.13557,
    "h": 273.2
  },
  "luminance": 0.08971
}

Semantic roles & 50–950 ramp

primary
#404DA1
secondary
#BCB481
accent
#C255D3
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #404DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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