#404FDE#404FDE

#404FDE is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 50.9% C 0.215 H 271.6°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#404FDE
RGBrgb(64, 79, 222)
HSLhsl(234, 71%, 56%)
HSVhsv(234, 71%, 87%)
CMYKcmyk(71.2%, 64.4%, 0%, 12.9%)
CIE-LABlab(41.14, 41.31, -74.46)
CIE-LCHlch(41.14, 85.15, 299.02°)
OKLaboklab(50.93% 0.0059 -0.2152)
OKLCHoklch(50.93% 0.215 271.6)
XYZxyz(18.0907, 11.9541, 70.4470)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404FDE #DECF40
analogous
#409EDE #404FDE #8040DE
triadic
#404FDE #DE404F #4FDE40
tetradic
#404FDE #DE409E #DECF40 #40DE80
square
#404FDE #DE409E #DECF40 #40DE80
split-complementary
#404FDE #DE8040 #9EDE40
monochromatic
#18238B #2130C0 #404FDE #747FE7 #A8AFF0

Accessibility & contrast

On white

6.19
#404FDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#404FDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404FDE
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404FDE#FFFFFF#000000##FFFFFF
##404FDE1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E3
Deuteranopia (green-blind)
#005ADB
Tritanopia (blue-blind)
#00758F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #404fde;
/* rgb */ color: rgb(64, 79, 222);
/* oklch */ color: oklch(50.9% 0.215 271.6);
Tailwind
colors: {
  custom: {
    50: '#8a80e9',
    500: '#404fde',
    950: '#000000',
  },
}
SCSS
$custom: #404fde;
$custom-light: #8a80e9;
$custom-dark: #000000;
JSON
{
  "hex": "#404fde",
  "rgb": {
    "r": 64,
    "g": 79,
    "b": 222
  },
  "hsl": {
    "h": 234.304,
    "s": 70.536,
    "l": 56.078
  },
  "oklch": {
    "l": 0.50925,
    "c": 0.21525,
    "h": 271.6
  },
  "luminance": 0.11956
}

Semantic roles & 50–950 ramp

primary
#404FDE
secondary
#DED79C
accent
#DC3AED
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #404FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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