#404EDC#404EDC

#404EDC is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 50.6% C 0.214 H 271.8°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#404EDC
RGBrgb(64, 78, 220)
HSLhsl(235, 69%, 56%)
HSVhsv(235, 71%, 86%)
CMYKcmyk(70.9%, 64.5%, 0%, 13.7%)
CIE-LABlab(40.74, 41.23, -73.97)
CIE-LCHlch(40.74, 84.69, 299.13°)
OKLaboklab(50.58% 0.0067 -0.2138)
OKLCHoklch(50.58% 0.214 271.8)
XYZxyz(17.7526, 11.7043, 69.0198)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404EDC #DCCE40
analogous
#409CDC #404EDC #8040DC
triadic
#404EDC #DC404E #4EDC40
tetradic
#404EDC #DC409C #DCCE40 #40DC80
square
#404EDC #DC409C #DCCE40 #40DC80
split-complementary
#404EDC #DC8040 #9CDC40
monochromatic
#192389 #2330BC #404EDC #747EE5 #A7AEEF

Accessibility & contrast

On white

6.29
#404EDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#404EDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404EDC
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404EDC#FFFFFF#000000##FFFFFF
##404EDC1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E0
Deuteranopia (green-blind)
#0059D9
Tritanopia (blue-blind)
#00738E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #404edc;
/* rgb */ color: rgb(64, 78, 220);
/* oklch */ color: oklch(50.6% 0.214 271.8);
Tailwind
colors: {
  custom: {
    50: '#8980e8',
    500: '#404edc',
    950: '#000000',
  },
}
SCSS
$custom: #404edc;
$custom-light: #8980e8;
$custom-dark: #000000;
JSON
{
  "hex": "#404edc",
  "rgb": {
    "r": 64,
    "g": 78,
    "b": 220
  },
  "hsl": {
    "h": 234.615,
    "s": 69.027,
    "l": 55.686
  },
  "oklch": {
    "l": 0.5058,
    "c": 0.21386,
    "h": 271.8
  },
  "luminance": 0.11706
}

Semantic roles & 50–950 ramp

primary
#404EDC
secondary
#DCD79B
accent
#DC3CEC
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #404EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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