#405472#405472

#405472 is a dark, muted blue. Relative luminance 0.086; OKLCH L 44.2% C 0.056 H 258.3°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#405472
RGBrgb(64, 84, 114)
HSLhsl(216, 28%, 35%)
HSVhsv(216, 44%, 45%)
CMYKcmyk(43.9%, 26.3%, 0%, 55.3%)
CIE-LABlab(35.29, 0.93, -19.57)
CIE-LCHlch(35.29, 19.59, 272.72°)
OKLaboklab(44.23% -0.0113 -0.0545)
OKLCHoklch(44.23% 0.056 258.3)
XYZxyz(8.3210, 8.6451, 17.1465)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405472 #725E40
analogous
#406D72 #405472 #454072
triadic
#405472 #724054 #547240
tetradic
#405472 #72406D #725E40 #407245
square
#405472 #72406D #725E40 #407245
split-complementary
#405472 #724540 #6D7240
monochromatic
#141A24 #2A374B #405472 #567199 #7990B4

Accessibility & contrast

On white

7.69
#405472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#405472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405472
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405472#FFFFFF#000000##FFFFFF
##4054721.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495673
Deuteranopia (green-blind)
#435171
Tritanopia (blue-blind)
#2E5A5E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #405472;
/* rgb */ color: rgb(64, 84, 114);
/* oklch */ color: oklch(44.2% 0.056 258.3);
Tailwind
colors: {
  custom: {
    50: '#77849a',
    500: '#405472',
    950: '#000000',
  },
}
SCSS
$custom: #405472;
$custom-light: #77849a;
$custom-dark: #000000;
JSON
{
  "hex": "#405472",
  "rgb": {
    "r": 64,
    "g": 84,
    "b": 114
  },
  "hsl": {
    "h": 216,
    "s": 28.09,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44228,
    "c": 0.05562,
    "h": 258.3
  },
  "luminance": 0.08646
}

Semantic roles & 50–950 ramp

primary
#405472
secondary
#9F8C6F
accent
#9E63C4
background
#F7F8F9
surface
#EDEFF2
border
#C8CACC
text
#090A0E
muted
#7B7C7E

Preview Lab

Preview with #405472

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

Preview Lab → · Contrast checker → · Palette generator →

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