#404FD5#404FD5

#404FD5 is a mid, highly saturated blue. Relative luminance 0.115; OKLCH L 50.1% C 0.204 H 271.8°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#404FD5
RGBrgb(64, 79, 213)
HSLhsl(234, 64%, 54%)
HSVhsv(234, 70%, 84%)
CMYKcmyk(70%, 62.9%, 0%, 16.5%)
CIE-LABlab(40.38, 38.21, -70.55)
CIE-LCHlch(40.38, 80.23, 298.44°)
OKLaboklab(50.14% 0.0064 -0.2037)
OKLCHoklch(50.14% 0.204 271.8)
XYZxyz(16.9165, 11.4844, 64.2631)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404FD5 #D5C640
analogous
#4099D5 #404FD5 #7C40D5
triadic
#404FD5 #D5404F #4FD540
tetradic
#404FD5 #D54099 #D5C640 #40D57C
square
#404FD5 #D54099 #D5C640 #40D57C
split-complementary
#404FD5 #D57C40 #99D540
monochromatic
#1C267F #2735B1 #404FD5 #727DE0 #A4ABEB

Accessibility & contrast

On white

6.37
#404FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#404FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404FD5
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404FD5#FFFFFF#000000##FFFFFF
##404FD51.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D9
Deuteranopia (green-blind)
#0058D2
Tritanopia (blue-blind)
#00728B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #404fd5;
/* rgb */ color: rgb(64, 79, 213);
/* oklch */ color: oklch(50.1% 0.204 271.8);
Tailwind
colors: {
  custom: {
    50: '#8880e3',
    500: '#404fd5',
    950: '#000000',
  },
}
SCSS
$custom: #404fd5;
$custom-light: #8880e3;
$custom-dark: #000000;
JSON
{
  "hex": "#404fd5",
  "rgb": {
    "r": 64,
    "g": 79,
    "b": 213
  },
  "hsl": {
    "h": 233.96,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.50136,
    "c": 0.20382,
    "h": 271.8
  },
  "luminance": 0.11486
}

Semantic roles & 50–950 ramp

primary
#404FD5
secondary
#D8D299
accent
#D641E7
background
#F9F7FE
surface
#F1EEFC
border
#CBC9D5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #404FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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