#404DD6#404DD6

#404DD6 is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 49.9% C 0.207 H 272.1°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#404DD6
RGBrgb(64, 77, 214)
HSLhsl(235, 65%, 55%)
HSVhsv(235, 70%, 84%)
CMYKcmyk(70.1%, 64%, 0%, 16.1%)
CIE-LABlab(40.00, 39.79, -71.75)
CIE-LCHlch(40.00, 82.05, 299.01°)
OKLaboklab(49.88% 0.0078 -0.2073)
OKLCHoklch(49.88% 0.207 272.1)
XYZxyz(16.9017, 11.2511, 64.8862)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404DD6 #D6C940
analogous
#4098D6 #404DD6 #7E40D6
triadic
#404DD6 #D6404D #4DD640
tetradic
#404DD6 #D64098 #D6C940 #40D67E
square
#404DD6 #D64098 #D6C940 #40D67E
split-complementary
#404DD6 #D67E40 #98D640
monochromatic
#1B2480 #2632B2 #404DD6 #727CE1 #A5ABEC

Accessibility & contrast

On white

6.46
#404DD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#404DD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404DD6
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404DD6#FFFFFF#000000##FFFFFF
##404DD61.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DA
Deuteranopia (green-blind)
#0057D3
Tritanopia (blue-blind)
#00718A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #404dd6;
/* rgb */ color: rgb(64, 77, 214);
/* oklch */ color: oklch(49.9% 0.207 272.1);
Tailwind
colors: {
  custom: {
    50: '#887fe4',
    500: '#404dd6',
    950: '#000000',
  },
}
SCSS
$custom: #404dd6;
$custom-light: #887fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#404dd6",
  "rgb": {
    "r": 64,
    "g": 77,
    "b": 214
  },
  "hsl": {
    "h": 234.8,
    "s": 64.655,
    "l": 54.51
  },
  "oklch": {
    "l": 0.4988,
    "c": 0.2074,
    "h": 272.1
  },
  "luminance": 0.11253
}

Semantic roles & 50–950 ramp

primary
#404DD6
secondary
#D9D399
accent
#D940E8
background
#F9F7FE
surface
#F1EEFC
border
#CBC9D5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #404DD6

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

Preview Lab → · Contrast checker → · Palette generator →

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