#406C8A#406C8A

#406C8A is a mid, moderate cyan. Relative luminance 0.137; OKLCH L 51.2% C 0.068 H 239.8°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#406C8A
RGBrgb(64, 108, 138)
HSLhsl(204, 37%, 40%)
HSVhsv(204, 54%, 54%)
CMYKcmyk(53.6%, 21.7%, 0%, 45.9%)
CIE-LABlab(43.73, -6.17, -21.17)
CIE-LCHlch(43.73, 22.05, 253.75°)
OKLaboklab(51.21% -0.0344 -0.059)
OKLCHoklch(51.21% 0.068 239.8)
XYZxyz(12.0627, 13.6491, 26.0387)
Luminance0.1365 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406C8A #8A5E40
analogous
#408A83 #406C8A #40478A
triadic
#406C8A #8A406C #6C8A40
tetradic
#406C8A #83408A #8A5E40 #478A40
square
#406C8A #83408A #8A5E40 #478A40
split-complementary
#406C8A #8A4047 #8A8340
monochromatic
#192B36 #2D4B60 #406C8A #568CB1 #80A9C4

Accessibility & contrast

On white

5.63
#406C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #406C8A
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406C8A#FFFFFF#000000##FFFFFF
##406C8A1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6C8B
Deuteranopia (green-blind)
#556489
Tritanopia (blue-blind)
#157476
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #406c8a;
/* rgb */ color: rgb(64, 108, 138);
/* oklch */ color: oklch(51.2% 0.068 239.8);
Tailwind
colors: {
  custom: {
    50: '#7a96ac',
    500: '#406c8a',
    950: '#000000',
  },
}
SCSS
$custom: #406c8a;
$custom-light: #7a96ac;
$custom-dark: #000000;
JSON
{
  "hex": "#406c8a",
  "rgb": {
    "r": 64,
    "g": 108,
    "b": 138
  },
  "hsl": {
    "h": 204.324,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51214,
    "c": 0.06829,
    "h": 239.8
  },
  "luminance": 0.1365
}

Semantic roles & 50–950 ramp

primary
#406C8A
secondary
#AF8E77
accent
#895BCD
background
#F7F9FA
surface
#EEF1F4
border
#C9CBCE
text
#0A0D10
muted
#7C7E7F

Preview Lab

Preview with #406C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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