#405992#405992

#405992 is a mid, moderate blue. Relative luminance 0.103; OKLCH L 47.2% C 0.098 H 265.0°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#405992
RGBrgb(64, 89, 146)
HSLhsl(222, 39%, 41%)
HSVhsv(222, 56%, 57%)
CMYKcmyk(56.2%, 39%, 0%, 42.7%)
CIE-LABlab(38.39, 8.28, -34.31)
CIE-LCHlch(38.39, 35.30, 283.56°)
OKLaboklab(47.17% -0.0085 -0.0972)
OKLCHoklch(47.17% 0.098 265)
XYZxyz(10.8733, 10.3092, 28.6055)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405992 #927940
analogous
#408292 #405992 #504092
triadic
#405992 #924059 #599240
tetradic
#405992 #924082 #927940 #409250
square
#405992 #924082 #927940 #409250
split-complementary
#405992 #925040 #829240
monochromatic
#1B253D #2D3F67 #405992 #5975B6 #8499C9

Accessibility & contrast

On white

6.86
#405992 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#405992 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #405992
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405992#FFFFFF#000000##FFFFFF
##4059921.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425E94
Deuteranopia (green-blind)
#385791
Tritanopia (blue-blind)
#10656E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #405992;
/* rgb */ color: rgb(64, 89, 146);
/* oklch */ color: oklch(47.2% 0.098 265.0);
Tailwind
colors: {
  custom: {
    50: '#7b87b2',
    500: '#405992',
    950: '#000000',
  },
}
SCSS
$custom: #405992;
$custom-light: #7b87b2;
$custom-dark: #000000;
JSON
{
  "hex": "#405992",
  "rgb": {
    "r": 64,
    "g": 89,
    "b": 146
  },
  "hsl": {
    "h": 221.707,
    "s": 39.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47165,
    "c": 0.09754,
    "h": 265
  },
  "luminance": 0.1031
}

Semantic roles & 50–950 ramp

primary
#405992
secondary
#B3A27A
accent
#AB59CF
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0B11
muted
#7C7C80

Preview Lab

Preview with #405992

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

Preview Lab → · Contrast checker → · Palette generator →

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