#404ED3#404ED3

#404ED3 is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 49.8% C 0.202 H 272.0°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#404ED3
RGBrgb(64, 78, 211)
HSLhsl(234, 63%, 54%)
HSVhsv(234, 70%, 83%)
CMYKcmyk(69.7%, 63%, 0%, 17.3%)
CIE-LABlab(39.98, 38.14, -70.06)
CIE-LCHlch(39.98, 79.77, 298.57°)
OKLaboklab(49.79% 0.0072 -0.2023)
OKLCHoklch(49.79% 0.202 272)
XYZxyz(16.5926, 11.2403, 62.9105)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404ED3 #D3C540
analogous
#4098D3 #404ED3 #7C40D3
triadic
#404ED3 #D3404E #4ED340
tetradic
#404ED3 #D34098 #D3C540 #40D37C
square
#404ED3 #D34098 #D3C540 #40D37C
split-complementary
#404ED3 #D37C40 #98D340
monochromatic
#1D267C #2835AE #404ED3 #727CDE #A3AAEA

Accessibility & contrast

On white

6.46
#404ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#404ED3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404ED3
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404ED3#FFFFFF#000000##FFFFFF
##404ED31.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D7
Deuteranopia (green-blind)
#0058D0
Tritanopia (blue-blind)
#007089
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #404ed3;
/* rgb */ color: rgb(64, 78, 211);
/* oklch */ color: oklch(49.8% 0.202 272.0);
Tailwind
colors: {
  custom: {
    50: '#887fe2',
    500: '#404ed3',
    950: '#000000',
  },
}
SCSS
$custom: #404ed3;
$custom-light: #887fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#404ed3",
  "rgb": {
    "r": 64,
    "g": 78,
    "b": 211
  },
  "hsl": {
    "h": 234.286,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.49789,
    "c": 0.20242,
    "h": 272
  },
  "luminance": 0.11242
}

Semantic roles & 50–950 ramp

primary
#404ED3
secondary
#D7D198
accent
#D642E6
background
#F9F7FE
surface
#F1EEFC
border
#CBC9D5
text
#0D0A15
muted
#7E7C84

Preview Lab

Preview with #404ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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