#404AD5#404AD5

#404AD5 is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 49.3% C 0.210 H 272.7°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#404AD5
RGBrgb(64, 74, 213)
HSLhsl(236, 64%, 54%)
HSVhsv(236, 70%, 84%)
CMYKcmyk(70%, 65.3%, 0%, 16.5%)
CIE-LABlab(39.22, 41.28, -72.45)
CIE-LCHlch(39.22, 83.38, 299.67°)
OKLaboklab(49.29% 0.0098 -0.2093)
OKLCHoklch(49.29% 0.21 272.7)
XYZxyz(16.5693, 10.7900, 64.1474)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404AD5 #D5CB40
analogous
#4095D5 #404AD5 #8140D5
triadic
#404AD5 #D5404A #4AD540
tetradic
#404AD5 #D54095 #D5CB40 #40D581
square
#404AD5 #D54095 #D5CB40 #40D581
split-complementary
#404AD5 #D58140 #95D540
monochromatic
#1C237F #2730B1 #404AD5 #727AE0 #A4A9EB

Accessibility & contrast

On white

6.65
#404AD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#404AD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404AD5
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404AD5#FFFFFF#000000##FFFFFF
##404AD51.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D9
Deuteranopia (green-blind)
#0056D2
Tritanopia (blue-blind)
#006F89
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #404ad5;
/* rgb */ color: rgb(64, 74, 213);
/* oklch */ color: oklch(49.3% 0.210 272.7);
Tailwind
colors: {
  custom: {
    50: '#887de3',
    500: '#404ad5',
    950: '#000000',
  },
}
SCSS
$custom: #404ad5;
$custom-light: #887de3;
$custom-dark: #000000;
JSON
{
  "hex": "#404ad5",
  "rgb": {
    "r": 64,
    "g": 74,
    "b": 213
  },
  "hsl": {
    "h": 235.973,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.49287,
    "c": 0.20954,
    "h": 272.7
  },
  "luminance": 0.10792
}

Semantic roles & 50–950 ramp

primary
#404AD5
secondary
#D8D499
accent
#DC41E7
background
#F9F7FE
surface
#F1EEFC
border
#CBC9D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #404AD5

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

Preview Lab → · Contrast checker → · Palette generator →

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