#404BE5#404BE5

#404BE5 is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 50.9% C 0.228 H 271.9°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#404BE5
RGBrgb(64, 75, 229)
HSLhsl(236, 76%, 57%)
HSVhsv(236, 72%, 90%)
CMYKcmyk(72.1%, 67.2%, 0%, 10.2%)
CIE-LABlab(40.86, 46.07, -78.91)
CIE-LCHlch(40.86, 91.37, 300.28°)
OKLaboklab(50.91% 0.0077 -0.2282)
OKLCHoklch(50.91% 0.228 271.9)
XYZxyz(18.7685, 11.7774, 75.3977)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404BE5 #E5DA40
analogous
#409EE5 #404BE5 #8840E5
triadic
#404BE5 #E5404B #4BE540
tetradic
#404BE5 #E5409E #E5DA40 #40E588
square
#404BE5 #E5409E #E5DA40 #40E588
split-complementary
#404BE5 #E58840 #9EE540
monochromatic
#141D96 #1C28CC #404BE5 #767EEC #ACB1F4

Accessibility & contrast

On white

6.26
#404BE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#404BE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404BE5
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404BE5#FFFFFF#000000##FFFFFF
##404BE51.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068EA
Deuteranopia (green-blind)
#0059E2
Tritanopia (blue-blind)
#007592
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #404be5;
/* rgb */ color: rgb(64, 75, 229);
/* oklch */ color: oklch(50.9% 0.228 271.9);
Tailwind
colors: {
  custom: {
    50: '#8c7eee',
    500: '#404be5',
    950: '#000000',
  },
}
SCSS
$custom: #404be5;
$custom-light: #8c7eee;
$custom-dark: #000000;
JSON
{
  "hex": "#404be5",
  "rgb": {
    "r": 64,
    "g": 75,
    "b": 229
  },
  "hsl": {
    "h": 236,
    "s": 76.037,
    "l": 57.451
  },
  "oklch": {
    "l": 0.50907,
    "c": 0.22833,
    "h": 271.9
  },
  "luminance": 0.11779
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #404BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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