#404FCE#404FCE

#404FCE is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.5% C 0.195 H 272.0°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#404FCE
RGBrgb(64, 79, 206)
HSLhsl(234, 59%, 53%)
HSVhsv(234, 69%, 81%)
CMYKcmyk(68.9%, 61.7%, 0%, 19.2%)
CIE-LABlab(39.81, 35.79, -67.46)
CIE-LCHlch(39.81, 76.36, 297.95°)
OKLaboklab(49.53% 0.0067 -0.1946)
OKLCHoklch(49.53% 0.195 272)
XYZxyz(16.0472, 11.1366, 59.6844)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404FCE #CEBF40
analogous
#4096CE #404FCE #7840CE
triadic
#404FCE #CE404F #4FCE40
tetradic
#404FCE #CE4096 #CEBF40 #40CE78
square
#404FCE #CE4096 #CEBF40 #40CE78
split-complementary
#404FCE #CE7840 #96CE40
monochromatic
#1E2775 #2B38A6 #404FCE #717CDA #A1A9E7

Accessibility & contrast

On white

6.51
#404FCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#404FCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404FCE
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404FCE#FFFFFF#000000##FFFFFF
##404FCE1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D2
Deuteranopia (green-blind)
#0057CC
Tritanopia (blue-blind)
#006F87
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #404fce;
/* rgb */ color: rgb(64, 79, 206);
/* oklch */ color: oklch(49.5% 0.195 272.0);
Tailwind
colors: {
  custom: {
    50: '#8680de',
    500: '#404fce',
    950: '#000000',
  },
}
SCSS
$custom: #404fce;
$custom-light: #8680de;
$custom-dark: #000000;
JSON
{
  "hex": "#404fce",
  "rgb": {
    "r": 64,
    "g": 79,
    "b": 206
  },
  "hsl": {
    "h": 233.662,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.49534,
    "c": 0.19477,
    "h": 272
  },
  "luminance": 0.11138
}

Semantic roles & 50–950 ramp

primary
#404FCE
secondary
#D4CD96
accent
#D245E2
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #404FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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