#404AE5#404AE5

#404AE5 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.7% C 0.229 H 272.1°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#404AE5
RGBrgb(64, 74, 229)
HSLhsl(236, 76%, 57%)
HSVhsv(236, 72%, 90%)
CMYKcmyk(72.1%, 67.7%, 0%, 10.2%)
CIE-LABlab(40.64, 46.66, -79.26)
CIE-LCHlch(40.64, 91.98, 300.49°)
OKLaboklab(50.75% 0.0083 -0.2292)
OKLCHoklch(50.75% 0.229 272.1)
XYZxyz(18.7012, 11.6428, 75.3752)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404AE5 #E5DB40
analogous
#409CE5 #404AE5 #8940E5
triadic
#404AE5 #E5404A #4AE540
tetradic
#404AE5 #E5409C #E5DB40 #40E589
square
#404AE5 #E5409C #E5DB40 #40E589
split-complementary
#404AE5 #E58940 #9CE540
monochromatic
#141C96 #1C26CC #404AE5 #767DEC #ACB0F4

Accessibility & contrast

On white

6.31
#404AE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#404AE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404AE5
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404AE5#FFFFFF#000000##FFFFFF
##404AE51.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #404ae5;
/* rgb */ color: rgb(64, 74, 229);
/* oklch */ color: oklch(50.7% 0.229 272.1);
Tailwind
colors: {
  custom: {
    50: '#8c7dee',
    500: '#404ae5',
    950: '#000000',
  },
}
SCSS
$custom: #404ae5;
$custom-light: #8c7dee;
$custom-dark: #000000;
JSON
{
  "hex": "#404ae5",
  "rgb": {
    "r": 64,
    "g": 74,
    "b": 229
  },
  "hsl": {
    "h": 236.364,
    "s": 76.037,
    "l": 57.451
  },
  "oklch": {
    "l": 0.50749,
    "c": 0.2294,
    "h": 272.1
  },
  "luminance": 0.11645
}

Semantic roles & 50–950 ramp

primary
#404AE5
secondary
#E2DE9F
accent
#E735F3
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #404AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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