#405C99#405C99

#405C99 is a mid, moderate blue. Relative luminance 0.110; OKLCH L 48.3% C 0.104 H 264.2°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#405C99
RGBrgb(64, 92, 153)
HSLhsl(221, 41%, 43%)
HSVhsv(221, 58%, 60%)
CMYKcmyk(58.2%, 39.9%, 0%, 40%)
CIE-LABlab(39.65, 8.76, -36.53)
CIE-LCHlch(39.65, 37.56, 283.49°)
OKLaboklab(48.27% -0.0104 -0.1036)
OKLCHoklch(48.27% 0.104 264.2)
XYZxyz(11.6893, 11.0433, 31.6464)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405C99 #997D40
analogous
#408899 #405C99 #514099
triadic
#405C99 #99405C #5C9940
tetradic
#405C99 #994088 #997D40 #409951
square
#405C99 #994088 #997D40 #409951
split-complementary
#405C99 #995140 #889940
monochromatic
#1C2843 #2E426E #405C99 #5C79BB #879DCD

Accessibility & contrast

On white

6.54
#405C99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#405C99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #405C99
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405C99#FFFFFF#000000##FFFFFF
##405C991.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42629B
Deuteranopia (green-blind)
#375A98
Tritanopia (blue-blind)
#006973
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #405c99;
/* rgb */ color: rgb(64, 92, 153);
/* oklch */ color: oklch(48.3% 0.104 264.2);
Tailwind
colors: {
  custom: {
    50: '#7c89b7',
    500: '#405c99',
    950: '#000000',
  },
}
SCSS
$custom: #405c99;
$custom-light: #7c89b7;
$custom-dark: #000000;
JSON
{
  "hex": "#405c99",
  "rgb": {
    "r": 64,
    "g": 92,
    "b": 153
  },
  "hsl": {
    "h": 221.124,
    "s": 41.014,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48267,
    "c": 0.10414,
    "h": 264.2
  },
  "luminance": 0.11044
}

Semantic roles & 50–950 ramp

primary
#405C99
secondary
#B7A57E
accent
#AB57D1
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#0A0B11
muted
#7C7C80

Preview Lab

Preview with #405C99

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

Preview Lab → · Contrast checker → · Palette generator →

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