#406F8A#406F8A

#406F8A is a mid, moderate cyan. Relative luminance 0.143; OKLCH L 51.9% C 0.067 H 235.3°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#406F8A
RGBrgb(64, 111, 138)
HSLhsl(202, 37%, 40%)
HSVhsv(202, 54%, 54%)
CMYKcmyk(53.6%, 19.6%, 0%, 45.9%)
CIE-LABlab(44.65, -7.94, -19.74)
CIE-LCHlch(44.65, 21.28, 248.10°)
OKLaboklab(51.95% -0.0381 -0.0549)
OKLCHoklch(51.95% 0.067 235.3)
XYZxyz(12.3846, 14.2928, 26.1460)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406F8A #8A5B40
analogous
#408A80 #406F8A #404A8A
triadic
#406F8A #8A406F #6F8A40
tetradic
#406F8A #80408A #8A5B40 #4A8A40
square
#406F8A #80408A #8A5B40 #4A8A40
split-complementary
#406F8A #8A404A #8A8040
monochromatic
#192C36 #2D4D60 #406F8A #5690B1 #80ABC4

Accessibility & contrast

On white

5.44
#406F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#406F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406F8A
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406F8A#FFFFFF#000000##FFFFFF
##406F8A1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#626E8B
Deuteranopia (green-blind)
#58668A
Tritanopia (blue-blind)
#137678
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #406f8a;
/* rgb */ color: rgb(64, 111, 138);
/* oklch */ color: oklch(51.9% 0.067 235.3);
Tailwind
colors: {
  custom: {
    50: '#7a98ac',
    500: '#406f8a',
    950: '#000000',
  },
}
SCSS
$custom: #406f8a;
$custom-light: #7a98ac;
$custom-dark: #000000;
JSON
{
  "hex": "#406f8a",
  "rgb": {
    "r": 64,
    "g": 111,
    "b": 138
  },
  "hsl": {
    "h": 201.892,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51947,
    "c": 0.06687,
    "h": 235.3
  },
  "luminance": 0.14294
}

Semantic roles & 50–950 ramp

primary
#406F8A
secondary
#AF8B77
accent
#855BCD
background
#F7F9FA
surface
#EEF2F4
border
#C9CCCE
text
#0A0D10
muted
#7C7E7F

Preview Lab

Preview with #406F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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