#404E88#404E88

#404E88 is a dark, moderate blue. Relative luminance 0.083; OKLCH L 44.1% C 0.097 H 271.7°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#404E88
RGBrgb(64, 78, 136)
HSLhsl(228, 36%, 39%)
HSVhsv(228, 53%, 53%)
CMYKcmyk(52.9%, 42.6%, 0%, 46.7%)
CIE-LABlab(34.63, 12.00, -34.19)
CIE-LCHlch(34.63, 36.24, 289.35°)
OKLaboklab(44.09% 0.0029 -0.0969)
OKLCHoklch(44.09% 0.097 271.7)
XYZxyz(9.2812, 8.3157, 24.4038)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404E88 #887A40
analogous
#407288 #404E88 #564088
triadic
#404E88 #88404E #4E8840
tetradic
#404E88 #884072 #887A40 #408856
square
#404E88 #884072 #887A40 #408856
split-complementary
#404E88 #885640 #728840
monochromatic
#191E35 #2C365E #404E88 #5667AF #7F8DC3

Accessibility & contrast

On white

7.89
#404E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#404E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404E88
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404E88#FFFFFF#000000##FFFFFF
##404E881.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37558A
Deuteranopia (green-blind)
#2F4F87
Tritanopia (blue-blind)
#205A64
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #404e88;
/* rgb */ color: rgb(64, 78, 136);
/* oklch */ color: oklch(44.1% 0.097 271.7);
Tailwind
colors: {
  custom: {
    50: '#7a7fab',
    500: '#404e88',
    950: '#000000',
  },
}
SCSS
$custom: #404e88;
$custom-light: #7a7fab;
$custom-dark: #000000;
JSON
{
  "hex": "#404e88",
  "rgb": {
    "r": 64,
    "g": 78,
    "b": 136
  },
  "hsl": {
    "h": 228.333,
    "s": 36,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44086,
    "c": 0.09695,
    "h": 271.7
  },
  "luminance": 0.08316
}

Semantic roles & 50–950 ramp

primary
#404E88
secondary
#ADA376
accent
#B65CCC
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #404E88

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

Preview Lab → · Contrast checker → · Palette generator →

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