#405689#405689

#405689 is a mid, moderate blue. Relative luminance 0.096; OKLCH L 45.9% C 0.088 H 265.4°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#405689
RGBrgb(64, 86, 137)
HSLhsl(222, 36%, 39%)
HSVhsv(222, 53%, 54%)
CMYKcmyk(53.3%, 37.2%, 0%, 46.3%)
CIE-LABlab(37.02, 7.14, -31.02)
CIE-LCHlch(37.02, 31.83, 282.97°)
OKLaboklab(45.95% -0.007 -0.0876)
OKLCHoklch(45.95% 0.088 265.4)
XYZxyz(9.9560, 9.5510, 24.9810)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405689 #897340
analogous
#407B89 #405689 #4F4089
triadic
#405689 #894056 #568940
tetradic
#405689 #89407B #897340 #40894F
square
#405689 #89407B #897340 #40894F
split-complementary
#405689 #894F40 #7B8940
monochromatic
#192236 #2D3C5F #405689 #5671B0 #8094C4

Accessibility & contrast

On white

7.22
#405689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#405689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405689
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405689#FFFFFF#000000##FFFFFF
##4056891.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425B8B
Deuteranopia (green-blind)
#3A5488
Tritanopia (blue-blind)
#1D6169
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #405689;
/* rgb */ color: rgb(64, 86, 137);
/* oklch */ color: oklch(45.9% 0.088 265.4);
Tailwind
colors: {
  custom: {
    50: '#7a85ab',
    500: '#405689',
    950: '#000000',
  },
}
SCSS
$custom: #405689;
$custom-light: #7a85ab;
$custom-dark: #000000;
JSON
{
  "hex": "#405689",
  "rgb": {
    "r": 64,
    "g": 86,
    "b": 137
  },
  "hsl": {
    "h": 221.918,
    "s": 36.318,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45948,
    "c": 0.08785,
    "h": 265.4
  },
  "luminance": 0.09552
}

Semantic roles & 50–950 ramp

primary
#405689
secondary
#AE9D77
accent
#AA5BCC
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #405689

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

Preview Lab → · Contrast checker → · Palette generator →

#405689 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva