#404EDF#404EDF

#404EDF is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 50.8% C 0.218 H 271.7°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#404EDF
RGBrgb(64, 78, 223)
HSLhsl(235, 71%, 56%)
HSVhsv(235, 71%, 87%)
CMYKcmyk(71.3%, 65%, 0%, 12.5%)
CIE-LABlab(41.00, 42.26, -75.26)
CIE-LCHlch(41.00, 86.31, 299.31°)
OKLaboklab(50.85% 0.0065 -0.2175)
OKLCHoklch(50.85% 0.218 271.7)
XYZxyz(18.1535, 11.8646, 71.1311)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404EDF #DFD140
analogous
#409EDF #404EDF #8240DF
triadic
#404EDF #DF404E #4EDF40
tetradic
#404EDF #DF409E #DFD140 #40DF82
square
#404EDF #DF409E #DFD140 #40DF82
split-complementary
#404EDF #DF8240 #9EDF40
monochromatic
#18228D #202FC1 #404EDF #747FE8 #A9AFF1

Accessibility & contrast

On white

6.23
#404EDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#404EDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404EDF
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404EDF#FFFFFF#000000##FFFFFF
##404EDF1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E4
Deuteranopia (green-blind)
#0059DC
Tritanopia (blue-blind)
#007490
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #404edf;
/* rgb */ color: rgb(64, 78, 223);
/* oklch */ color: oklch(50.8% 0.218 271.7);
Tailwind
colors: {
  custom: {
    50: '#8a80ea',
    500: '#404edf',
    950: '#000000',
  },
}
SCSS
$custom: #404edf;
$custom-light: #8a80ea;
$custom-dark: #000000;
JSON
{
  "hex": "#404edf",
  "rgb": {
    "r": 64,
    "g": 78,
    "b": 223
  },
  "hsl": {
    "h": 234.717,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50847,
    "c": 0.21763,
    "h": 271.7
  },
  "luminance": 0.11866
}

Semantic roles & 50–950 ramp

primary
#404EDF
secondary
#DED89D
accent
#DE3AEE
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #404EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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