#404DD9#404DD9

#404DD9 is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.1% C 0.211 H 272.0°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#404DD9
RGBrgb(64, 77, 217)
HSLhsl(235, 67%, 55%)
HSVhsv(235, 71%, 85%)
CMYKcmyk(70.5%, 64.5%, 0%, 14.9%)
CIE-LABlab(40.26, 40.82, -73.05)
CIE-LCHlch(40.26, 83.68, 299.19°)
OKLaboklab(50.15% 0.0076 -0.2111)
OKLCHoklch(50.15% 0.211 272)
XYZxyz(17.2884, 11.4058, 66.9226)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404DD9 #D9CC40
analogous
#4099D9 #404DD9 #8040D9
triadic
#404DD9 #D9404D #4DD940
tetradic
#404DD9 #D94099 #D9CC40 #40D980
square
#404DD9 #D94099 #D9CC40 #40D980
split-complementary
#404DD9 #D98040 #99D940
monochromatic
#1A2384 #2431B7 #404DD9 #737DE3 #A6ACED

Accessibility & contrast

On white

6.40
#404DD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#404DD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404DD9
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404DD9#FFFFFF#000000##FFFFFF
##404DD91.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DD
Deuteranopia (green-blind)
#0058D6
Tritanopia (blue-blind)
#00728C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #404dd9;
/* rgb */ color: rgb(64, 77, 217);
/* oklch */ color: oklch(50.1% 0.211 272.0);
Tailwind
colors: {
  custom: {
    50: '#897fe6',
    500: '#404dd9',
    950: '#000000',
  },
}
SCSS
$custom: #404dd9;
$custom-light: #897fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#404dd9",
  "rgb": {
    "r": 64,
    "g": 77,
    "b": 217
  },
  "hsl": {
    "h": 234.902,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.50145,
    "c": 0.2112,
    "h": 272
  },
  "luminance": 0.11407
}

Semantic roles & 50–950 ramp

primary
#404DD9
secondary
#DAD59A
accent
#DB3EEA
background
#F9F7FE
surface
#F1EEFC
border
#CBC9D5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #404DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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