#404BD4#404BD4

#404BD4 is a mid, highly saturated blue. Relative luminance 0.109; OKLCH L 49.4% C 0.207 H 272.6°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#404BD4
RGBrgb(64, 75, 212)
HSLhsl(236, 63%, 54%)
HSVhsv(236, 70%, 83%)
CMYKcmyk(69.8%, 64.6%, 0%, 16.9%)
CIE-LABlab(39.37, 40.33, -71.64)
CIE-LCHlch(39.37, 82.21, 299.38°)
OKLaboklab(49.36% 0.0092 -0.2069)
OKLCHoklch(49.36% 0.207 272.6)
XYZxyz(16.5101, 10.8740, 63.5034)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404BD4 #D4C940
analogous
#4095D4 #404BD4 #7F40D4
triadic
#404BD4 #D4404B #4BD440
tetradic
#404BD4 #D44095 #D4C940 #40D47F
square
#404BD4 #D44095 #D4C940 #40D47F
split-complementary
#404BD4 #D47F40 #95D440
monochromatic
#1C237D #2732AF #404BD4 #727ADF #A4A9EA

Accessibility & contrast

On white

6.61
#404BD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#404BD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404BD4
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404BD4#FFFFFF#000000##FFFFFF
##404BD41.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D8
Deuteranopia (green-blind)
#0056D1
Tritanopia (blue-blind)
#006F89
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #404bd4;
/* rgb */ color: rgb(64, 75, 212);
/* oklch */ color: oklch(49.4% 0.207 272.6);
Tailwind
colors: {
  custom: {
    50: '#887de2',
    500: '#404bd4',
    950: '#000000',
  },
}
SCSS
$custom: #404bd4;
$custom-light: #887de2;
$custom-dark: #000000;
JSON
{
  "hex": "#404bd4",
  "rgb": {
    "r": 64,
    "g": 75,
    "b": 212
  },
  "hsl": {
    "h": 235.541,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.49365,
    "c": 0.20715,
    "h": 272.6
  },
  "luminance": 0.10876
}

Semantic roles & 50–950 ramp

primary
#404BD4
secondary
#D7D398
accent
#DA42E6
background
#F9F7FE
surface
#F1EEFC
border
#CBC9D5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #404BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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