#404DA2#404DA2

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

Color values

HEX#404DA2
RGBrgb(64, 77, 162)
HSLhsl(232, 43%, 44%)
HSVhsv(232, 60%, 64%)
CMYKcmyk(60.5%, 52.5%, 0%, 36.5%)
CIE-LABlab(35.99, 21.65, -47.77)
CIE-LCHlch(35.99, 52.45, 294.38°)
OKLaboklab(45.65% 0.0077 -0.1368)
OKLCHoklch(45.65% 0.137 273.2)
XYZxyz(11.2877, 9.0055, 35.3188)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404DA2 #A29540
analogous
#407EA2 #404DA2 #6440A2
triadic
#404DA2 #A2404D #4DA240
tetradic
#404DA2 #A2407E #A29540 #40A264
square
#404DA2 #A2407E #A29540 #40A264
split-complementary
#404DA2 #A26440 #7EA240
monochromatic
#1D234A #2F3876 #404DA2 #5F6CC0 #8B94D1

Accessibility & contrast

On white

7.50
#404DA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#404DA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404DA2
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404DA2#FFFFFF#000000##FFFFFF
##404DA21.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C59A5
Deuteranopia (green-blind)
#0151A0
Tritanopia (blue-blind)
#006170
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #404da2;
/* rgb */ color: rgb(64, 77, 162);
/* oklch */ color: oklch(45.7% 0.137 273.2);
Tailwind
colors: {
  custom: {
    50: '#7e7ebe',
    500: '#404da2',
    950: '#000000',
  },
}
SCSS
$custom: #404da2;
$custom-light: #7e7ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#404da2",
  "rgb": {
    "r": 64,
    "g": 77,
    "b": 162
  },
  "hsl": {
    "h": 232.041,
    "s": 43.363,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45652,
    "c": 0.13701,
    "h": 273.2
  },
  "luminance": 0.09006
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #404DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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