#404EAB#404EAB

#404EAB is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.5% C 0.149 H 272.8°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#404EAB
RGBrgb(64, 78, 171)
HSLhsl(232, 46%, 46%)
HSVhsv(232, 63%, 67%)
CMYKcmyk(62.6%, 54.4%, 0%, 32.9%)
CIE-LABlab(36.89, 24.16, -51.70)
CIE-LCHlch(36.89, 57.07, 295.05°)
OKLaboklab(46.52% 0.0073 -0.1483)
OKLCHoklch(46.52% 0.149 272.8)
XYZxyz(12.1870, 9.4780, 39.7074)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404EAB #AB9D40
analogous
#4083AB #404EAB #6740AB
triadic
#404EAB #AB404E #4EAB40
tetradic
#404EAB #AB4083 #AB9D40 #40AB67
square
#404EAB #AB4083 #AB9D40 #40AB67
split-complementary
#404EAB #AB6740 #83AB40
monochromatic
#1F2552 #2F3A7E #404EAB #6370C5 #9099D5

Accessibility & contrast

On white

7.25
#404EAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#404EAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404EAB
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404EAB#FFFFFF#000000##FFFFFF
##404EAB1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5CAE
Deuteranopia (green-blind)
#0052A9
Tritanopia (blue-blind)
#006475
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #404eab;
/* rgb */ color: rgb(64, 78, 171);
/* oklch */ color: oklch(46.5% 0.149 272.8);
Tailwind
colors: {
  custom: {
    50: '#807fc5',
    500: '#404eab',
    950: '#000000',
  },
}
SCSS
$custom: #404eab;
$custom-light: #807fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#404eab",
  "rgb": {
    "r": 64,
    "g": 78,
    "b": 171
  },
  "hsl": {
    "h": 232.15,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46524,
    "c": 0.14853,
    "h": 272.8
  },
  "luminance": 0.09479
}

Semantic roles & 50–950 ramp

primary
#404EAB
secondary
#C1B986
accent
#C453D5
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #404EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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