#404DDF#404DDF

#404DDF is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 50.7% C 0.219 H 271.9°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#404DDF
RGBrgb(64, 77, 223)
HSLhsl(235, 71%, 56%)
HSVhsv(235, 71%, 87%)
CMYKcmyk(71.3%, 65.5%, 0%, 12.5%)
CIE-LABlab(40.77, 42.86, -75.63)
CIE-LCHlch(40.77, 86.93, 299.54°)
OKLaboklab(50.68% 0.0071 -0.2186)
OKLCHoklch(50.68% 0.219 271.9)
XYZxyz(18.0830, 11.7236, 71.1076)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404DDF #DFD240
analogous
#409DDF #404DDF #8340DF
triadic
#404DDF #DF404D #4DDF40
tetradic
#404DDF #DF409D #DFD240 #40DF83
square
#404DDF #DF409D #DFD240 #40DF83
split-complementary
#404DDF #DF8340 #9DDF40
monochromatic
#18218D #202EC1 #404DDF #747EE8 #A9AFF1

Accessibility & contrast

On white

6.28
#404DDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#404DDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404DDF
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404DDF#FFFFFF#000000##FFFFFF
##404DDF1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E4
Deuteranopia (green-blind)
#0059DC
Tritanopia (blue-blind)
#00748F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #404ddf;
/* rgb */ color: rgb(64, 77, 223);
/* oklch */ color: oklch(50.7% 0.219 271.9);
Tailwind
colors: {
  custom: {
    50: '#8a7fea',
    500: '#404ddf',
    950: '#000000',
  },
}
SCSS
$custom: #404ddf;
$custom-light: #8a7fea;
$custom-dark: #000000;
JSON
{
  "hex": "#404ddf",
  "rgb": {
    "r": 64,
    "g": 77,
    "b": 223
  },
  "hsl": {
    "h": 235.094,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50682,
    "c": 0.21875,
    "h": 271.9
  },
  "luminance": 0.11725
}

Semantic roles & 50–950 ramp

primary
#404DDF
secondary
#DED99D
accent
#DF3AEE
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #404DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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