#404DA3#404DA3

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

Color values

HEX#404DA3
RGBrgb(64, 77, 163)
HSLhsl(232, 44%, 45%)
HSVhsv(232, 61%, 64%)
CMYKcmyk(60.7%, 52.8%, 0%, 36.1%)
CIE-LABlab(36.06, 22.00, -48.26)
CIE-LCHlch(36.06, 53.04, 294.51°)
OKLaboklab(45.73% 0.0078 -0.1382)
OKLCHoklch(45.73% 0.138 273.2)
XYZxyz(11.3769, 9.0412, 35.7888)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404DA3 #A39640
analogous
#407FA3 #404DA3 #6540A3
triadic
#404DA3 #A3404D #4DA340
tetradic
#404DA3 #A3407F #A39640 #40A365
square
#404DA3 #A3407F #A39640 #40A365
split-complementary
#404DA3 #A36540 #7FA340
monochromatic
#1D234B #2F3877 #404DA3 #606CC0 #8C95D2

Accessibility & contrast

On white

7.48
#404DA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#404DA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404DA3
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404DA3#FFFFFF#000000##FFFFFF
##404DA31.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B59A6
Deuteranopia (green-blind)
#0051A1
Tritanopia (blue-blind)
#006170
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #404da3;
/* rgb */ color: rgb(64, 77, 163);
/* oklch */ color: oklch(45.7% 0.138 273.2);
Tailwind
colors: {
  custom: {
    50: '#7e7ebf',
    500: '#404da3',
    950: '#000000',
  },
}
SCSS
$custom: #404da3;
$custom-light: #7e7ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#404da3",
  "rgb": {
    "r": 64,
    "g": 77,
    "b": 163
  },
  "hsl": {
    "h": 232.121,
    "s": 43.612,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45725,
    "c": 0.13846,
    "h": 273.2
  },
  "luminance": 0.09042
}

Semantic roles & 50–950 ramp

primary
#404DA3
secondary
#BDB582
accent
#C354D3
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #404DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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