#404BD6#404BD6

#404BD6 is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 49.5% C 0.210 H 272.5°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#404BD6
RGBrgb(64, 75, 214)
HSLhsl(236, 65%, 55%)
HSVhsv(236, 70%, 84%)
CMYKcmyk(70.1%, 65%, 0%, 16.1%)
CIE-LABlab(39.54, 41.01, -72.51)
CIE-LCHlch(39.54, 83.30, 299.49°)
OKLaboklab(49.54% 0.0091 -0.2095)
OKLCHoklch(49.54% 0.21 272.5)
XYZxyz(16.7639, 10.9755, 64.8403)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404BD6 #D6CB40
analogous
#4096D6 #404BD6 #8040D6
triadic
#404BD6 #D6404B #4BD640
tetradic
#404BD6 #D64096 #D6CB40 #40D680
square
#404BD6 #D64096 #D6CB40 #40D680
split-complementary
#404BD6 #D68040 #96D640
monochromatic
#1B2380 #2631B2 #404BD6 #727AE1 #A5AAEC

Accessibility & contrast

On white

6.57
#404BD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#404BD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404BD6
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404BD6#FFFFFF#000000##FFFFFF
##404BD61.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DA
Deuteranopia (green-blind)
#0056D3
Tritanopia (blue-blind)
#00708A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #404bd6;
/* rgb */ color: rgb(64, 75, 214);
/* oklch */ color: oklch(49.5% 0.210 272.5);
Tailwind
colors: {
  custom: {
    50: '#887de4',
    500: '#404bd6',
    950: '#000000',
  },
}
SCSS
$custom: #404bd6;
$custom-light: #887de4;
$custom-dark: #000000;
JSON
{
  "hex": "#404bd6",
  "rgb": {
    "r": 64,
    "g": 75,
    "b": 214
  },
  "hsl": {
    "h": 235.6,
    "s": 64.655,
    "l": 54.51
  },
  "oklch": {
    "l": 0.49543,
    "c": 0.20968,
    "h": 272.5
  },
  "luminance": 0.10977
}

Semantic roles & 50–950 ramp

primary
#404BD6
secondary
#D9D499
accent
#DB40E8
background
#F9F7FE
surface
#F1EEFC
border
#CBC9D5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #404BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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