#405E99#405E99

#405E99 is a mid, moderate blue. Relative luminance 0.114; OKLCH L 48.7% C 0.102 H 262.8°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#405E99
RGBrgb(64, 94, 153)
HSLhsl(220, 41%, 43%)
HSVhsv(220, 58%, 60%)
CMYKcmyk(58.2%, 38.6%, 0%, 40%)
CIE-LABlab(40.24, 7.49, -35.60)
CIE-LCHlch(40.24, 36.38, 281.88°)
OKLaboklab(48.72% -0.0128 -0.1009)
OKLCHoklch(48.72% 0.102 262.8)
XYZxyz(11.8649, 11.3943, 31.7049)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405E99 #997B40
analogous
#408B99 #405E99 #4E4099
triadic
#405E99 #99405E #5E9940
tetradic
#405E99 #99408B #997B40 #40994E
square
#405E99 #99408B #997B40 #40994E
split-complementary
#405E99 #994E40 #8B9940
monochromatic
#1C2943 #2E436E #405E99 #5C7CBB #879ECD

Accessibility & contrast

On white

6.40
#405E99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#405E99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #405E99
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405E99#FFFFFF#000000##FFFFFF
##405E991.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45639B
Deuteranopia (green-blind)
#3A5B98
Tritanopia (blue-blind)
#006B74
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #405e99;
/* rgb */ color: rgb(64, 94, 153);
/* oklch */ color: oklch(48.7% 0.102 262.8);
Tailwind
colors: {
  custom: {
    50: '#7c8bb7',
    500: '#405e99',
    950: '#000000',
  },
}
SCSS
$custom: #405e99;
$custom-light: #7c8bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#405e99",
  "rgb": {
    "r": 64,
    "g": 94,
    "b": 153
  },
  "hsl": {
    "h": 219.775,
    "s": 41.014,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48718,
    "c": 0.1017,
    "h": 262.8
  },
  "luminance": 0.11395
}

Semantic roles & 50–950 ramp

primary
#405E99
secondary
#B7A47E
accent
#A857D1
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#0A0B11
muted
#7C7C80

Preview Lab

Preview with #405E99

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

Preview Lab → · Contrast checker → · Palette generator →

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