#406A8A#406A8A

#406A8A is a mid, moderate cyan. Relative luminance 0.132; OKLCH L 50.7% C 0.069 H 242.7°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#406A8A
RGBrgb(64, 106, 138)
HSLhsl(206, 37%, 40%)
HSVhsv(206, 54%, 54%)
CMYKcmyk(53.6%, 23.2%, 0%, 45.9%)
CIE-LABlab(43.11, -4.98, -22.12)
CIE-LCHlch(43.11, 22.67, 257.32°)
OKLaboklab(50.73% -0.0319 -0.0617)
OKLCHoklch(50.73% 0.069 242.7)
XYZxyz(11.8542, 13.2321, 25.9692)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406A8A #8A6040
analogous
#408A85 #406A8A #40458A
triadic
#406A8A #8A406A #6A8A40
tetradic
#406A8A #85408A #8A6040 #458A40
square
#406A8A #85408A #8A6040 #458A40
split-complementary
#406A8A #8A4045 #8A8540
monochromatic
#192A36 #2D4A60 #406A8A #568AB1 #80A7C4

Accessibility & contrast

On white

5.76
#406A8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#406A8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406A8A
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406A8A#FFFFFF#000000##FFFFFF
##406A8A1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6A8C
Deuteranopia (green-blind)
#526289
Tritanopia (blue-blind)
#167275
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #406a8a;
/* rgb */ color: rgb(64, 106, 138);
/* oklch */ color: oklch(50.7% 0.069 242.7);
Tailwind
colors: {
  custom: {
    50: '#7a94ac',
    500: '#406a8a',
    950: '#000000',
  },
}
SCSS
$custom: #406a8a;
$custom-light: #7a94ac;
$custom-dark: #000000;
JSON
{
  "hex": "#406a8a",
  "rgb": {
    "r": 64,
    "g": 106,
    "b": 138
  },
  "hsl": {
    "h": 205.946,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50729,
    "c": 0.06948,
    "h": 242.7
  },
  "luminance": 0.13233
}

Semantic roles & 50–950 ramp

primary
#406A8A
secondary
#AF8F77
accent
#8C5BCD
background
#F7F9FA
surface
#EEF1F4
border
#C9CBCE
text
#0A0D10
muted
#7C7E7F

Preview Lab

Preview with #406A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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