#404DA4#404DA4

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

Color values

HEX#404DA4
RGBrgb(64, 77, 164)
HSLhsl(232, 44%, 45%)
HSVhsv(232, 61%, 64%)
CMYKcmyk(61%, 53%, 0%, 35.7%)
CIE-LABlab(36.13, 22.35, -48.75)
CIE-LCHlch(36.13, 53.63, 294.63°)
OKLaboklab(45.8% 0.0078 -0.1397)
OKLCHoklch(45.8% 0.14 273.2)
XYZxyz(11.4669, 9.0772, 36.2626)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404DA4 #A49740
analogous
#407FA4 #404DA4 #6540A4
triadic
#404DA4 #A4404D #4DA440
tetradic
#404DA4 #A4407F #A49740 #40A465
square
#404DA4 #A4407F #A49740 #40A465
split-complementary
#404DA4 #A46540 #7FA440
monochromatic
#1E244C #2F3878 #404DA4 #606DC1 #8C95D2

Accessibility & contrast

On white

7.46
#404DA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #404DA4
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404DA4#FFFFFF#000000##FFFFFF
##404DA41.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1959A7
Deuteranopia (green-blind)
#0051A2
Tritanopia (blue-blind)
#006171
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #404da4;
/* rgb */ color: rgb(64, 77, 164);
/* oklch */ color: oklch(45.8% 0.140 273.2);
Tailwind
colors: {
  custom: {
    50: '#7e7ec0',
    500: '#404da4',
    950: '#000000',
  },
}
SCSS
$custom: #404da4;
$custom-light: #7e7ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#404da4",
  "rgb": {
    "r": 64,
    "g": 77,
    "b": 164
  },
  "hsl": {
    "h": 232.2,
    "s": 43.86,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45799,
    "c": 0.1399,
    "h": 273.2
  },
  "luminance": 0.09078
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #404DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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