#405E89#405E89

#405E89 is a mid, moderate blue. Relative luminance 0.109; OKLCH L 47.8% C 0.079 H 257.4°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#405E89
RGBrgb(64, 94, 137)
HSLhsl(215, 36%, 39%)
HSVhsv(215, 53%, 54%)
CMYKcmyk(53.3%, 31.4%, 0%, 46.3%)
CIE-LABlab(39.41, 2.06, -27.26)
CIE-LCHlch(39.41, 27.34, 274.31°)
OKLaboklab(47.81% -0.0171 -0.0766)
OKLCHoklch(47.81% 0.079 257.4)
XYZxyz(10.6309, 10.9008, 25.2059)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405E89 #896B40
analogous
#408389 #405E89 #474089
triadic
#405E89 #89405E #5E8940
tetradic
#405E89 #894083 #896B40 #408947
square
#405E89 #894083 #896B40 #408947
split-complementary
#405E89 #894740 #838940
monochromatic
#192536 #2D415F #405E89 #567BB0 #809CC4

Accessibility & contrast

On white

6.60
#405E89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#405E89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #405E89
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405E89#FFFFFF#000000##FFFFFF
##405E891.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D618B
Deuteranopia (green-blind)
#445A88
Tritanopia (blue-blind)
#1B686D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #405e89;
/* rgb */ color: rgb(64, 94, 137);
/* oklch */ color: oklch(47.8% 0.079 257.4);
Tailwind
colors: {
  custom: {
    50: '#7a8bab',
    500: '#405e89',
    950: '#000000',
  },
}
SCSS
$custom: #405e89;
$custom-light: #7a8bab;
$custom-dark: #000000;
JSON
{
  "hex": "#405e89",
  "rgb": {
    "r": 64,
    "g": 94,
    "b": 137
  },
  "hsl": {
    "h": 215.342,
    "s": 36.318,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47807,
    "c": 0.07851,
    "h": 257.4
  },
  "luminance": 0.10902
}

Semantic roles & 50–950 ramp

primary
#405E89
secondary
#AE9777
accent
#9E5BCC
background
#F7F8FA
surface
#EEF0F4
border
#C9CBCE
text
#090C10
muted
#7B7D7F

Preview Lab

Preview with #405E89

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

Preview Lab → · Contrast checker → · Palette generator →

#405E89 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva