#406599#406599

#406599 is a mid, moderate blue. Relative luminance 0.127; OKLCH L 50.3% C 0.094 H 257.1°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#406599
RGBrgb(64, 101, 153)
HSLhsl(215, 41%, 43%)
HSVhsv(215, 58%, 60%)
CMYKcmyk(58.2%, 34%, 0%, 40%)
CIE-LABlab(42.30, 3.08, -32.34)
CIE-LCHlch(42.30, 32.49, 275.43°)
OKLaboklab(50.32% -0.021 -0.0913)
OKLCHoklch(50.32% 0.094 257.1)
XYZxyz(12.5158, 12.6962, 31.9219)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406599 #997440
analogous
#409299 #406599 #474099
triadic
#406599 #994065 #659940
tetradic
#406599 #994092 #997440 #409947
square
#406599 #994092 #997440 #409947
split-complementary
#406599 #994740 #929940
monochromatic
#1C2C43 #2E496E #406599 #5C83BB #87A4CD

Accessibility & contrast

On white

5.93
#406599 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#406599 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406599
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406599#FFFFFF#000000##FFFFFF
##4065991.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50689B
Deuteranopia (green-blind)
#446098
Tritanopia (blue-blind)
#007178
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #406599;
/* rgb */ color: rgb(64, 101, 153);
/* oklch */ color: oklch(50.3% 0.094 257.1);
Tailwind
colors: {
  custom: {
    50: '#7c90b7',
    500: '#406599',
    950: '#000000',
  },
}
SCSS
$custom: #406599;
$custom-light: #7c90b7;
$custom-dark: #000000;
JSON
{
  "hex": "#406599",
  "rgb": {
    "r": 64,
    "g": 101,
    "b": 153
  },
  "hsl": {
    "h": 215.056,
    "s": 41.014,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50324,
    "c": 0.0937,
    "h": 257.1
  },
  "luminance": 0.12697
}

Semantic roles & 50–950 ramp

primary
#406599
secondary
#B79F7E
accent
#9E57D1
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#0A0C11
muted
#7C7D80

Preview Lab

Preview with #406599

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

Preview Lab → · Contrast checker → · Palette generator →

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