#405B99#405B99

#405B99 is a mid, moderate blue. Relative luminance 0.109; OKLCH L 48.0% C 0.105 H 264.9°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#405B99
RGBrgb(64, 91, 153)
HSLhsl(222, 41%, 43%)
HSVhsv(222, 58%, 60%)
CMYKcmyk(58.2%, 40.5%, 0%, 40%)
CIE-LABlab(39.36, 9.41, -36.99)
CIE-LCHlch(39.36, 38.16, 284.27°)
OKLaboklab(48.04% -0.0093 -0.105)
OKLCHoklch(48.04% 0.105 264.9)
XYZxyz(11.6033, 10.8711, 31.6177)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405B99 #997E40
analogous
#408799 #405B99 #524099
triadic
#405B99 #99405B #5B9940
tetradic
#405B99 #994087 #997E40 #409952
square
#405B99 #994087 #997E40 #409952
split-complementary
#405B99 #995240 #879940
monochromatic
#1C2843 #2E416E #405B99 #5C78BB #879CCD

Accessibility & contrast

On white

6.62
#405B99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#405B99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #405B99
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405B99#FFFFFF#000000##FFFFFF
##405B991.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41619B
Deuteranopia (green-blind)
#365998
Tritanopia (blue-blind)
#006972
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #405b99;
/* rgb */ color: rgb(64, 91, 153);
/* oklch */ color: oklch(48.0% 0.105 264.9);
Tailwind
colors: {
  custom: {
    50: '#7c89b7',
    500: '#405b99',
    950: '#000000',
  },
}
SCSS
$custom: #405b99;
$custom-light: #7c89b7;
$custom-dark: #000000;
JSON
{
  "hex": "#405b99",
  "rgb": {
    "r": 64,
    "g": 91,
    "b": 153
  },
  "hsl": {
    "h": 221.798,
    "s": 41.014,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48042,
    "c": 0.10538,
    "h": 264.9
  },
  "luminance": 0.10872
}

Semantic roles & 50–950 ramp

primary
#405B99
secondary
#B7A67E
accent
#AC57D1
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0B11
muted
#7C7C80

Preview Lab

Preview with #405B99

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

Preview Lab → · Contrast checker → · Palette generator →

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