#405D99#405D99

#405D99 is a mid, moderate blue. Relative luminance 0.112; OKLCH L 48.5% C 0.103 H 263.5°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#405D99
RGBrgb(64, 93, 153)
HSLhsl(220, 41%, 43%)
HSVhsv(220, 58%, 60%)
CMYKcmyk(58.2%, 39.2%, 0%, 40%)
CIE-LABlab(39.94, 8.12, -36.06)
CIE-LCHlch(39.94, 36.97, 282.70°)
OKLaboklab(48.49% -0.0116 -0.1022)
OKLCHoklch(48.49% 0.103 263.5)
XYZxyz(11.7765, 11.2177, 31.6755)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405D99 #997C40
analogous
#408A99 #405D99 #4F4099
triadic
#405D99 #99405D #5D9940
tetradic
#405D99 #99408A #997C40 #40994F
square
#405D99 #99408A #997C40 #40994F
split-complementary
#405D99 #994F40 #8A9940
monochromatic
#1C2943 #2E436E #405D99 #5C7BBB #879ECD

Accessibility & contrast

On white

6.47
#405D99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#405D99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #405D99
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405D99#FFFFFF#000000##FFFFFF
##405D991.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44639B
Deuteranopia (green-blind)
#395A98
Tritanopia (blue-blind)
#006A73
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #405d99;
/* rgb */ color: rgb(64, 93, 153);
/* oklch */ color: oklch(48.5% 0.103 263.5);
Tailwind
colors: {
  custom: {
    50: '#7c8ab7',
    500: '#405d99',
    950: '#000000',
  },
}
SCSS
$custom: #405d99;
$custom-light: #7c8ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#405d99",
  "rgb": {
    "r": 64,
    "g": 93,
    "b": 153
  },
  "hsl": {
    "h": 220.449,
    "s": 41.014,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48492,
    "c": 0.10291,
    "h": 263.5
  },
  "luminance": 0.11219
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #405D99

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

Preview Lab → · Contrast checker → · Palette generator →

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