#406E8A#406E8A

#406E8A is a mid, moderate cyan. Relative luminance 0.141; OKLCH L 51.7% C 0.067 H 236.8°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#406E8A
RGBrgb(64, 110, 138)
HSLhsl(203, 37%, 40%)
HSVhsv(203, 54%, 54%)
CMYKcmyk(53.6%, 20.3%, 0%, 45.9%)
CIE-LABlab(44.34, -7.35, -20.22)
CIE-LCHlch(44.34, 21.51, 250.02°)
OKLaboklab(51.7% -0.0369 -0.0563)
OKLCHoklch(51.7% 0.067 236.8)
XYZxyz(12.2761, 14.0758, 26.1098)
Luminance0.1408 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406E8A #8A5C40
analogous
#408A81 #406E8A #40498A
triadic
#406E8A #8A406E #6E8A40
tetradic
#406E8A #81408A #8A5C40 #498A40
square
#406E8A #81408A #8A5C40 #498A40
split-complementary
#406E8A #8A4049 #8A8140
monochromatic
#192B36 #2D4D60 #406E8A #568FB1 #80AAC4

Accessibility & contrast

On white

5.50
#406E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#406E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406E8A
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406E8A#FFFFFF#000000##FFFFFF
##406E8A1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#616D8B
Deuteranopia (green-blind)
#57658A
Tritanopia (blue-blind)
#147577
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #406e8a;
/* rgb */ color: rgb(64, 110, 138);
/* oklch */ color: oklch(51.7% 0.067 236.8);
Tailwind
colors: {
  custom: {
    50: '#7a97ac',
    500: '#406e8a',
    950: '#000000',
  },
}
SCSS
$custom: #406e8a;
$custom-light: #7a97ac;
$custom-dark: #000000;
JSON
{
  "hex": "#406e8a",
  "rgb": {
    "r": 64,
    "g": 110,
    "b": 138
  },
  "hsl": {
    "h": 202.703,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51702,
    "c": 0.0673,
    "h": 236.8
  },
  "luminance": 0.14077
}

Semantic roles & 50–950 ramp

primary
#406E8A
secondary
#AF8C77
accent
#865BCD
background
#F7F9FA
surface
#EEF2F4
border
#C9CCCE
text
#0A0D10
muted
#7C7E7F

Preview Lab

Preview with #406E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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