#405382#405382

#405382 is a dark, moderate blue. Relative luminance 0.089; OKLCH L 44.9% C 0.081 H 266.5°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#405382
RGBrgb(64, 83, 130)
HSLhsl(223, 34%, 38%)
HSVhsv(223, 51%, 51%)
CMYKcmyk(50.8%, 36.2%, 0%, 49%)
CIE-LABlab(35.77, 6.73, -28.71)
CIE-LCHlch(35.77, 29.49, 283.20°)
OKLaboklab(44.85% -0.005 -0.0809)
OKLCHoklch(44.85% 0.081 266.5)
XYZxyz(9.2356, 8.8876, 22.3436)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405382 #826F40
analogous
#407482 #405382 #4E4082
triadic
#405382 #824053 #538240
tetradic
#405382 #824074 #826F40 #40824E
square
#405382 #824074 #826F40 #40824E
split-complementary
#405382 #824E40 #748240
monochromatic
#181F30 #2C3959 #405382 #546DAB #7D90BF

Accessibility & contrast

On white

7.56
#405382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#405382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405382
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405382#FFFFFF#000000##FFFFFF
##4053821.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415784
Deuteranopia (green-blind)
#3A5181
Tritanopia (blue-blind)
#245D64
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #405382;
/* rgb */ color: rgb(64, 83, 130);
/* oklch */ color: oklch(44.9% 0.081 266.5);
Tailwind
colors: {
  custom: {
    50: '#7983a6',
    500: '#405382',
    950: '#000000',
  },
}
SCSS
$custom: #405382;
$custom-light: #7983a6;
$custom-dark: #000000;
JSON
{
  "hex": "#405382",
  "rgb": {
    "r": 64,
    "g": 83,
    "b": 130
  },
  "hsl": {
    "h": 222.727,
    "s": 34.021,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44854,
    "c": 0.08104,
    "h": 266.5
  },
  "luminance": 0.08888
}

Semantic roles & 50–950 ramp

primary
#405382
secondary
#AA9A74
accent
#AB5ECA
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090A0F
muted
#7B7C7F

Preview Lab

Preview with #405382

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

Preview Lab → · Contrast checker → · Palette generator →

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