#406C97#406C97

#406C97 is a mid, moderate cyan. Relative luminance 0.140; OKLCH L 51.9% C 0.084 H 249.2°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#406C97
RGBrgb(64, 108, 151)
HSLhsl(210, 40%, 42%)
HSVhsv(210, 58%, 59%)
CMYKcmyk(57.6%, 28.5%, 0%, 40.8%)
CIE-LABlab(44.30, -1.91, -28.02)
CIE-LCHlch(44.30, 28.08, 266.11°)
OKLaboklab(51.86% -0.0299 -0.0787)
OKLCHoklch(51.86% 0.084 249.2)
XYZxyz(13.0608, 14.0484, 31.2955)
Luminance0.1405 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406C97 #976B40
analogous
#409797 #406C97 #404197
triadic
#406C97 #97406C #6C9740
tetradic
#406C97 #974097 #976B40 #419740
square
#406C97 #974097 #976B40 #419740
split-complementary
#406C97 #974041 #979740
monochromatic
#1C2F41 #2E4D6C #406C97 #5B8BB9 #86A9CC

Accessibility & contrast

On white

5.51
#406C97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#406C97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406C97
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406C97#FFFFFF#000000##FFFFFF
##406C971.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6E99
Deuteranopia (green-blind)
#4F6596
Tritanopia (blue-blind)
#00767B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #406c97;
/* rgb */ color: rgb(64, 108, 151);
/* oklch */ color: oklch(51.9% 0.084 249.2);
Tailwind
colors: {
  custom: {
    50: '#7c95b5',
    500: '#406c97',
    950: '#000000',
  },
}
SCSS
$custom: #406c97;
$custom-light: #7c95b5;
$custom-dark: #000000;
JSON
{
  "hex": "#406c97",
  "rgb": {
    "r": 64,
    "g": 108,
    "b": 151
  },
  "hsl": {
    "h": 209.655,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.5186,
    "c": 0.0842,
    "h": 249.2
  },
  "luminance": 0.14049
}

Semantic roles & 50–950 ramp

primary
#406C97
secondary
#B6997D
accent
#9357D0
background
#F7F9FB
surface
#EEF1F6
border
#C9CBD0
text
#0A0D11
muted
#7C7E80

Preview Lab

Preview with #406C97

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

Preview Lab → · Contrast checker → · Palette generator →

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