#405999#405999

#405999 is a mid, moderate blue. Relative luminance 0.105; OKLCH L 47.6% C 0.108 H 266.3°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#405999
RGBrgb(64, 89, 153)
HSLhsl(223, 41%, 43%)
HSVhsv(223, 58%, 60%)
CMYKcmyk(58.2%, 41.8%, 0%, 40%)
CIE-LABlab(38.78, 10.69, -37.91)
CIE-LCHlch(38.78, 39.39, 285.75°)
OKLaboklab(47.6% -0.007 -0.1077)
OKLCHoklch(47.6% 0.108 266.3)
XYZxyz(11.4346, 10.5338, 31.5615)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405999 #998040
analogous
#408699 #405999 #534099
triadic
#405999 #994059 #599940
tetradic
#405999 #994086 #998040 #409953
square
#405999 #994086 #998040 #409953
split-complementary
#405999 #995340 #869940
monochromatic
#1C2743 #2E406E #405999 #5C76BB #879ACD

Accessibility & contrast

On white

6.76
#405999 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#405999 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #405999
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405999#FFFFFF#000000##FFFFFF
##4059991.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E609B
Deuteranopia (green-blind)
#325898
Tritanopia (blue-blind)
#006771
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #405999;
/* rgb */ color: rgb(64, 89, 153);
/* oklch */ color: oklch(47.6% 0.108 266.3);
Tailwind
colors: {
  custom: {
    50: '#7c87b7',
    500: '#405999',
    950: '#000000',
  },
}
SCSS
$custom: #405999;
$custom-light: #7c87b7;
$custom-dark: #000000;
JSON
{
  "hex": "#405999",
  "rgb": {
    "r": 64,
    "g": 89,
    "b": 153
  },
  "hsl": {
    "h": 223.146,
    "s": 41.014,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47596,
    "c": 0.1079,
    "h": 266.3
  },
  "luminance": 0.10535
}

Semantic roles & 50–950 ramp

primary
#405999
secondary
#B7A77E
accent
#AF57D1
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0B11
muted
#7C7C80

Preview Lab

Preview with #405999

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

Preview Lab → · Contrast checker → · Palette generator →

#405999 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva