#405372#405372

#405372 is a dark, muted blue. Relative luminance 0.085; OKLCH L 44.0% C 0.057 H 260.0°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#405372
RGBrgb(64, 83, 114)
HSLhsl(217, 28%, 35%)
HSVhsv(217, 44%, 45%)
CMYKcmyk(43.9%, 27.2%, 0%, 55.3%)
CIE-LABlab(34.98, 1.56, -20.04)
CIE-LCHlch(34.98, 20.10, 274.46°)
OKLaboklab(43.99% -0.0099 -0.0558)
OKLCHoklch(43.99% 0.057 260)
XYZxyz(8.2439, 8.4909, 17.1209)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405372 #725F40
analogous
#406C72 #405372 #464072
triadic
#405372 #724053 #537240
tetradic
#405372 #72406C #725F40 #407246
square
#405372 #72406C #725F40 #407246
split-complementary
#405372 #724640 #6C7240
monochromatic
#141A24 #2A364B #405372 #567099 #798FB4

Accessibility & contrast

On white

7.78
#405372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#405372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405372
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405372#FFFFFF#000000##FFFFFF
##4053721.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485573
Deuteranopia (green-blind)
#425071
Tritanopia (blue-blind)
#2E5A5E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #405372;
/* rgb */ color: rgb(64, 83, 114);
/* oklch */ color: oklch(44.0% 0.057 260.0);
Tailwind
colors: {
  custom: {
    50: '#77839a',
    500: '#405372',
    950: '#000000',
  },
}
SCSS
$custom: #405372;
$custom-light: #77839a;
$custom-dark: #000000;
JSON
{
  "hex": "#405372",
  "rgb": {
    "r": 64,
    "g": 83,
    "b": 114
  },
  "hsl": {
    "h": 217.2,
    "s": 28.09,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43988,
    "c": 0.05669,
    "h": 260
  },
  "luminance": 0.08491
}

Semantic roles & 50–950 ramp

primary
#405372
secondary
#9F8D6F
accent
#A063C4
background
#F7F8F9
surface
#EDEFF2
border
#C8CACC
text
#090A0E
muted
#7B7C7E

Preview Lab

Preview with #405372

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

Preview Lab → · Contrast checker → · Palette generator →

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