#406597#406597

#406597 is a mid, moderate cyan. Relative luminance 0.126; OKLCH L 50.2% C 0.091 H 256.3°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#406597
RGBrgb(64, 101, 151)
HSLhsl(214, 40%, 42%)
HSVhsv(214, 58%, 59%)
CMYKcmyk(57.6%, 33.1%, 0%, 40.8%)
CIE-LABlab(42.20, 2.39, -31.31)
CIE-LCHlch(42.20, 31.40, 274.37°)
OKLaboklab(50.21% -0.0216 -0.0883)
OKLCHoklch(50.21% 0.091 256.3)
XYZxyz(12.3520, 12.6307, 31.0592)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406597 #977240
analogous
#409197 #406597 #474097
triadic
#406597 #974065 #659740
tetradic
#406597 #974091 #977240 #409747
square
#406597 #974091 #977240 #409747
split-complementary
#406597 #974740 #919740
monochromatic
#1C2C41 #2E486C #406597 #5B83B9 #86A3CC

Accessibility & contrast

On white

5.96
#406597 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#406597 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406597
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406597#FFFFFF#000000##FFFFFF
##4065971.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516899
Deuteranopia (green-blind)
#456096
Tritanopia (blue-blind)
#007077
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #406597;
/* rgb */ color: rgb(64, 101, 151);
/* oklch */ color: oklch(50.2% 0.091 256.3);
Tailwind
colors: {
  custom: {
    50: '#7c90b6',
    500: '#406597',
    950: '#000000',
  },
}
SCSS
$custom: #406597;
$custom-light: #7c90b6;
$custom-dark: #000000;
JSON
{
  "hex": "#406597",
  "rgb": {
    "r": 64,
    "g": 101,
    "b": 151
  },
  "hsl": {
    "h": 214.483,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50213,
    "c": 0.0909,
    "h": 256.3
  },
  "luminance": 0.12632
}

Semantic roles & 50–950 ramp

primary
#406597
secondary
#B69E7D
accent
#9D57D0
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#0A0C11
muted
#7C7D80

Preview Lab

Preview with #406597

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

Preview Lab → · Contrast checker → · Palette generator →

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