#404FD3#404FD3

#404FD3 is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.0% C 0.201 H 271.9°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#404FD3
RGBrgb(64, 79, 211)
HSLhsl(234, 63%, 54%)
HSVhsv(234, 70%, 83%)
CMYKcmyk(69.7%, 62.6%, 0%, 17.3%)
CIE-LABlab(40.22, 37.52, -69.67)
CIE-LCHlch(40.22, 79.13, 298.31°)
OKLaboklab(49.96% 0.0065 -0.2011)
OKLCHoklch(49.96% 0.201 271.9)
XYZxyz(16.6642, 11.3835, 62.9344)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404FD3 #D3C440
analogous
#4098D3 #404FD3 #7B40D3
triadic
#404FD3 #D3404F #4FD340
tetradic
#404FD3 #D34098 #D3C440 #40D37B
square
#404FD3 #D34098 #D3C440 #40D37B
split-complementary
#404FD3 #D37B40 #98D340
monochromatic
#1D267C #2836AE #404FD3 #727DDE #A3ABEA

Accessibility & contrast

On white

6.41
#404FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #404FD3
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404FD3#FFFFFF#000000##FFFFFF
##404FD31.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D7
Deuteranopia (green-blind)
#0058D0
Tritanopia (blue-blind)
#00718A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #404fd3;
/* rgb */ color: rgb(64, 79, 211);
/* oklch */ color: oklch(50.0% 0.201 271.9);
Tailwind
colors: {
  custom: {
    50: '#8880e2',
    500: '#404fd3',
    950: '#000000',
  },
}
SCSS
$custom: #404fd3;
$custom-light: #8880e2;
$custom-dark: #000000;
JSON
{
  "hex": "#404fd3",
  "rgb": {
    "r": 64,
    "g": 79,
    "b": 211
  },
  "hsl": {
    "h": 233.878,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.49963,
    "c": 0.20125,
    "h": 271.9
  },
  "luminance": 0.11385
}

Semantic roles & 50–950 ramp

primary
#404FD3
secondary
#D7D098
accent
#D542E6
background
#F9F7FE
surface
#F1EEFC
border
#CBC9D5
text
#0D0A15
muted
#7E7C84

Preview Lab

Preview with #404FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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