#404DD5#404DD5

#404DD5 is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 49.8% C 0.206 H 272.2°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#404DD5
RGBrgb(64, 77, 213)
HSLhsl(235, 64%, 54%)
HSVhsv(235, 70%, 84%)
CMYKcmyk(70%, 63.8%, 0%, 16.5%)
CIE-LABlab(39.92, 39.45, -71.32)
CIE-LCHlch(39.92, 81.50, 298.95°)
OKLaboklab(49.79% 0.0078 -0.206)
OKLCHoklch(49.79% 0.206 272.2)
XYZxyz(16.7744, 11.2002, 64.2157)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404DD5 #D5C840
analogous
#4098D5 #404DD5 #7E40D5
triadic
#404DD5 #D5404D #4DD540
tetradic
#404DD5 #D54098 #D5C840 #40D57E
square
#404DD5 #D54098 #D5C840 #40D57E
split-complementary
#404DD5 #D57E40 #98D540
monochromatic
#1C247F #2733B1 #404DD5 #727CE0 #A4ABEB

Accessibility & contrast

On white

6.48
#404DD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#404DD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404DD5
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404DD5#FFFFFF#000000##FFFFFF
##404DD51.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D9
Deuteranopia (green-blind)
#0057D2
Tritanopia (blue-blind)
#00708A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #404dd5;
/* rgb */ color: rgb(64, 77, 213);
/* oklch */ color: oklch(49.8% 0.206 272.2);
Tailwind
colors: {
  custom: {
    50: '#887fe3',
    500: '#404dd5',
    950: '#000000',
  },
}
SCSS
$custom: #404dd5;
$custom-light: #887fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#404dd5",
  "rgb": {
    "r": 64,
    "g": 77,
    "b": 213
  },
  "hsl": {
    "h": 234.765,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.49792,
    "c": 0.20613,
    "h": 272.2
  },
  "luminance": 0.11202
}

Semantic roles & 50–950 ramp

primary
#404DD5
secondary
#D8D299
accent
#D841E7
background
#F9F7FE
surface
#F1EEFC
border
#CBC9D5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #404DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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