#405489#405489

#405489 is a mid, moderate blue. Relative luminance 0.092; OKLCH L 45.5% C 0.090 H 267.1°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#405489
RGBrgb(64, 84, 137)
HSLhsl(224, 36%, 39%)
HSVhsv(224, 53%, 54%)
CMYKcmyk(53.3%, 38.7%, 0%, 46.3%)
CIE-LABlab(36.44, 8.43, -31.95)
CIE-LCHlch(36.44, 33.04, 284.79°)
OKLaboklab(45.49% -0.0045 -0.0903)
OKLCHoklch(45.49% 0.09 267.1)
XYZxyz(9.7985, 9.2361, 24.9285)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405489 #897540
analogous
#407989 #405489 #514089
triadic
#405489 #894054 #548940
tetradic
#405489 #894079 #897540 #408951
square
#405489 #894079 #897540 #408951
split-complementary
#405489 #895140 #798940
monochromatic
#192136 #2D3A5F #405489 #566FB0 #8092C4

Accessibility & contrast

On white

7.38
#405489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#405489 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405489
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405489#FFFFFF#000000##FFFFFF
##4054891.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F598B
Deuteranopia (green-blind)
#375388
Tritanopia (blue-blind)
#1E5F68
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #405489;
/* rgb */ color: rgb(64, 84, 137);
/* oklch */ color: oklch(45.5% 0.090 267.1);
Tailwind
colors: {
  custom: {
    50: '#7a83ac',
    500: '#405489',
    950: '#000000',
  },
}
SCSS
$custom: #405489;
$custom-light: #7a83ac;
$custom-dark: #000000;
JSON
{
  "hex": "#405489",
  "rgb": {
    "r": 64,
    "g": 84,
    "b": 137
  },
  "hsl": {
    "h": 223.562,
    "s": 36.318,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45493,
    "c": 0.09041,
    "h": 267.1
  },
  "luminance": 0.09237
}

Semantic roles & 50–950 ramp

primary
#405489
secondary
#AE9F77
accent
#AD5BCC
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #405489

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

Preview Lab → · Contrast checker → · Palette generator →

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