#405F99#405F99

#405F99 is a mid, moderate blue. Relative luminance 0.116; OKLCH L 48.9% C 0.100 H 262.0°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#405F99
RGBrgb(64, 95, 153)
HSLhsl(219, 41%, 43%)
HSVhsv(219, 58%, 60%)
CMYKcmyk(58.2%, 37.9%, 0%, 40%)
CIE-LABlab(40.53, 6.85, -35.14)
CIE-LCHlch(40.53, 35.80, 281.03°)
OKLaboklab(48.95% -0.0139 -0.0995)
OKLCHoklch(48.95% 0.1 262)
XYZxyz(11.9544, 11.5733, 31.7347)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405F99 #997A40
analogous
#408C99 #405F99 #4D4099
triadic
#405F99 #99405F #5F9940
tetradic
#405F99 #99408C #997A40 #40994D
square
#405F99 #99408C #997A40 #40994D
split-complementary
#405F99 #994D40 #8C9940
monochromatic
#1C2943 #2E446E #405F99 #5C7DBB #879FCD

Accessibility & contrast

On white

6.34
#405F99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#405F99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #405F99
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405F99#FFFFFF#000000##FFFFFF
##405F991.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47649B
Deuteranopia (green-blind)
#3C5C98
Tritanopia (blue-blind)
#006C74
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #405f99;
/* rgb */ color: rgb(64, 95, 153);
/* oklch */ color: oklch(48.9% 0.100 262.0);
Tailwind
colors: {
  custom: {
    50: '#7c8cb7',
    500: '#405f99',
    950: '#000000',
  },
}
SCSS
$custom: #405f99;
$custom-light: #7c8cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#405f99",
  "rgb": {
    "r": 64,
    "g": 95,
    "b": 153
  },
  "hsl": {
    "h": 219.101,
    "s": 41.014,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48945,
    "c": 0.10049,
    "h": 262
  },
  "luminance": 0.11574
}

Semantic roles & 50–950 ramp

primary
#405F99
secondary
#B7A37E
accent
#A657D1
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#0A0C11
muted
#7C7D80

Preview Lab

Preview with #405F99

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

Preview Lab → · Contrast checker → · Palette generator →

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