#406A97#406A97

#406A97 is a mid, moderate cyan. Relative luminance 0.136; OKLCH L 51.4% C 0.086 H 251.3°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#406A97
RGBrgb(64, 106, 151)
HSLhsl(211, 40%, 42%)
HSVhsv(211, 58%, 59%)
CMYKcmyk(57.6%, 29.8%, 0%, 40.8%)
CIE-LABlab(43.70, -0.69, -28.96)
CIE-LCHlch(43.70, 28.97, 268.64°)
OKLaboklab(51.39% -0.0275 -0.0815)
OKLCHoklch(51.39% 0.086 251.3)
XYZxyz(12.8523, 13.6313, 31.2260)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406A97 #976D40
analogous
#409697 #406A97 #414097
triadic
#406A97 #97406A #6A9740
tetradic
#406A97 #974096 #976D40 #409741
square
#406A97 #974096 #976D40 #409741
split-complementary
#406A97 #974140 #969740
monochromatic
#1C2E41 #2E4C6C #406A97 #5B88B9 #86A7CC

Accessibility & contrast

On white

5.64
#406A97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#406A97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406A97
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406A97#FFFFFF#000000##FFFFFF
##406A971.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576C99
Deuteranopia (green-blind)
#4C6396
Tritanopia (blue-blind)
#00747A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #406a97;
/* rgb */ color: rgb(64, 106, 151);
/* oklch */ color: oklch(51.4% 0.086 251.3);
Tailwind
colors: {
  custom: {
    50: '#7c94b6',
    500: '#406a97',
    950: '#000000',
  },
}
SCSS
$custom: #406a97;
$custom-light: #7c94b6;
$custom-dark: #000000;
JSON
{
  "hex": "#406a97",
  "rgb": {
    "r": 64,
    "g": 106,
    "b": 151
  },
  "hsl": {
    "h": 211.034,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51386,
    "c": 0.08598,
    "h": 251.3
  },
  "luminance": 0.13632
}

Semantic roles & 50–950 ramp

primary
#406A97
secondary
#B69A7D
accent
#9657D0
background
#F7F9FB
surface
#EEF1F6
border
#C9CBD0
text
#0A0D11
muted
#7C7E80

Preview Lab

Preview with #406A97

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

Preview Lab → · Contrast checker → · Palette generator →

#406A97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva