#404EE6#404EE6

#404EE6 is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.5% C 0.226 H 271.5°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#404EE6
RGBrgb(64, 78, 230)
HSLhsl(235, 77%, 58%)
HSVhsv(235, 72%, 90%)
CMYKcmyk(72.2%, 66.1%, 0%, 9.8%)
CIE-LABlab(41.61, 44.63, -78.24)
CIE-LCHlch(41.61, 90.08, 299.70°)
OKLaboklab(51.48% 0.0059 -0.2262)
OKLCHoklch(51.48% 0.226 271.5)
XYZxyz(19.1168, 12.2500, 76.2046)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404EE6 #E6D840
analogous
#40A1E6 #404EE6 #8540E6
triadic
#404EE6 #E6404E #4EE640
tetradic
#404EE6 #E640A1 #E6D840 #40E685
square
#404EE6 #E640A1 #E6D840 #40E685
split-complementary
#404EE6 #E68540 #A1E640
monochromatic
#141F98 #1B2ACE #404EE6 #7680ED #ACB2F4

Accessibility & contrast

On white

6.09
#404EE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#404EE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404EE6
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404EE6#FFFFFF#000000##FFFFFF
##404EE61.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEB
Deuteranopia (green-blind)
#005AE3
Tritanopia (blue-blind)
#007793
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #404ee6;
/* rgb */ color: rgb(64, 78, 230);
/* oklch */ color: oklch(51.5% 0.226 271.5);
Tailwind
colors: {
  custom: {
    50: '#8c80ef',
    500: '#404ee6',
    950: '#000000',
  },
}
SCSS
$custom: #404ee6;
$custom-light: #8c80ef;
$custom-dark: #000000;
JSON
{
  "hex": "#404ee6",
  "rgb": {
    "r": 64,
    "g": 78,
    "b": 230
  },
  "hsl": {
    "h": 234.94,
    "s": 76.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.51479,
    "c": 0.22633,
    "h": 271.5
  },
  "luminance": 0.12252
}

Semantic roles & 50–950 ramp

primary
#404EE6
secondary
#E2DD9F
accent
#E334F3
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #404EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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