#405B96#405B96

#405B96 is a mid, moderate blue. Relative luminance 0.108; OKLCH L 47.9% C 0.101 H 264.3°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#405B96
RGBrgb(64, 91, 150)
HSLhsl(221, 40%, 42%)
HSVhsv(221, 57%, 59%)
CMYKcmyk(57.3%, 39.3%, 0%, 41.2%)
CIE-LABlab(39.20, 8.37, -35.45)
CIE-LCHlch(39.20, 36.42, 283.28°)
OKLaboklab(47.86% -0.01 -0.1005)
OKLCHoklch(47.86% 0.101 264.3)
XYZxyz(11.3586, 10.7733, 30.3291)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405B96 #967B40
analogous
#408696 #405B96 #504096
triadic
#405B96 #96405B #5B9640
tetradic
#405B96 #964086 #967B40 #409650
square
#405B96 #964086 #967B40 #409650
split-complementary
#405B96 #965040 #869640
monochromatic
#1B2740 #2E416B #405B96 #5A78B9 #859BCB

Accessibility & contrast

On white

6.66
#405B96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#405B96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #405B96
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405B96#FFFFFF#000000##FFFFFF
##405B961.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436198
Deuteranopia (green-blind)
#385995
Tritanopia (blue-blind)
#066871
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #405b96;
/* rgb */ color: rgb(64, 91, 150);
/* oklch */ color: oklch(47.9% 0.101 264.3);
Tailwind
colors: {
  custom: {
    50: '#7c89b5',
    500: '#405b96',
    950: '#000000',
  },
}
SCSS
$custom: #405b96;
$custom-light: #7c89b5;
$custom-dark: #000000;
JSON
{
  "hex": "#405b96",
  "rgb": {
    "r": 64,
    "g": 91,
    "b": 150
  },
  "hsl": {
    "h": 221.163,
    "s": 40.187,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47859,
    "c": 0.10096,
    "h": 264.3
  },
  "luminance": 0.10774
}

Semantic roles & 50–950 ramp

primary
#405B96
secondary
#B6A47C
accent
#AA58D0
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0B11
muted
#7C7C80

Preview Lab

Preview with #405B96

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

Preview Lab → · Contrast checker → · Palette generator →

#405B96 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva