#404EAE#404EAE

#404EAE is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.8% C 0.153 H 272.8°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#404EAE
RGBrgb(64, 78, 174)
HSLhsl(232, 46%, 47%)
HSVhsv(232, 63%, 68%)
CMYKcmyk(63.2%, 55.2%, 0%, 31.8%)
CIE-LABlab(37.10, 25.21, -53.14)
CIE-LCHlch(37.10, 58.82, 295.39°)
OKLaboklab(46.75% 0.0074 -0.1526)
OKLCHoklch(46.75% 0.153 272.8)
XYZxyz(12.4762, 9.5937, 41.2305)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404EAE #AEA040
analogous
#4085AE #404EAE #6940AE
triadic
#404EAE #AE404E #4EAE40
tetradic
#404EAE #AE4085 #AEA040 #40AE69
square
#404EAE #AE4085 #AEA040 #40AE69
split-complementary
#404EAE #AE6940 #85AE40
monochromatic
#1F2655 #303A81 #404EAE #6571C6 #929AD7

Accessibility & contrast

On white

7.19
#404EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#404EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404EAE
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404EAE#FFFFFF#000000##FFFFFF
##404EAE1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#045CB1
Deuteranopia (green-blind)
#0053AC
Tritanopia (blue-blind)
#006576
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #404eae;
/* rgb */ color: rgb(64, 78, 174);
/* oklch */ color: oklch(46.8% 0.153 272.8);
Tailwind
colors: {
  custom: {
    50: '#807fc7',
    500: '#404eae',
    950: '#000000',
  },
}
SCSS
$custom: #404eae;
$custom-light: #807fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#404eae",
  "rgb": {
    "r": 64,
    "g": 78,
    "b": 174
  },
  "hsl": {
    "h": 232.364,
    "s": 46.218,
    "l": 46.667
  },
  "oklch": {
    "l": 0.46753,
    "c": 0.15276,
    "h": 272.8
  },
  "luminance": 0.09595
}

Semantic roles & 50–950 ramp

primary
#404EAE
secondary
#C2BB88
accent
#C552D6
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #404EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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