#404BD5#404BD5

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

Color values

HEX#404BD5
RGBrgb(64, 75, 213)
HSLhsl(236, 64%, 54%)
HSVhsv(236, 70%, 84%)
CMYKcmyk(70%, 64.8%, 0%, 16.5%)
CIE-LABlab(39.45, 40.67, -72.07)
CIE-LCHlch(39.45, 82.76, 299.43°)
OKLaboklab(49.45% 0.0092 -0.2082)
OKLCHoklch(49.45% 0.208 272.5)
XYZxyz(16.6366, 10.9246, 64.1698)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404BD5 #D5CA40
analogous
#4096D5 #404BD5 #7F40D5
triadic
#404BD5 #D5404B #4BD540
tetradic
#404BD5 #D54096 #D5CA40 #40D57F
square
#404BD5 #D54096 #D5CA40 #40D57F
split-complementary
#404BD5 #D57F40 #96D540
monochromatic
#1C237F #2731B1 #404BD5 #727AE0 #A4AAEB

Accessibility & contrast

On white

6.59
#404BD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#404BD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404BD5
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404BD5#FFFFFF#000000##FFFFFF
##404BD51.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #404bd5;
/* rgb */ color: rgb(64, 75, 213);
/* oklch */ color: oklch(49.5% 0.208 272.5);
Tailwind
colors: {
  custom: {
    50: '#887de3',
    500: '#404bd5',
    950: '#000000',
  },
}
SCSS
$custom: #404bd5;
$custom-light: #887de3;
$custom-dark: #000000;
JSON
{
  "hex": "#404bd5",
  "rgb": {
    "r": 64,
    "g": 75,
    "b": 213
  },
  "hsl": {
    "h": 235.57,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.49454,
    "c": 0.20841,
    "h": 272.5
  },
  "luminance": 0.10926
}

Semantic roles & 50–950 ramp

primary
#404BD5
secondary
#D8D399
accent
#DB41E7
background
#F9F7FE
surface
#F1EEFC
border
#CBC9D5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #404BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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