#406FA6#406FA6

#406FA6 is a mid, moderate cyan. Relative luminance 0.152; OKLCH L 53.4% C 0.101 H 253.5°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#406FA6
RGBrgb(64, 111, 166)
HSLhsl(212, 44%, 45%)
HSVhsv(212, 61%, 65%)
CMYKcmyk(61.4%, 33.1%, 0%, 34.9%)
CIE-LABlab(45.92, 1.36, -34.34)
CIE-LCHlch(45.92, 34.36, 272.27°)
OKLaboklab(53.37% -0.0288 -0.097)
OKLCHoklch(53.37% 0.101 253.5)
XYZxyz(14.6793, 15.2107, 38.2314)
Luminance0.1521 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406FA6 #A67740
analogous
#40A2A6 #406FA6 #4440A6
triadic
#406FA6 #A6406F #6FA640
tetradic
#406FA6 #A640A2 #A67740 #40A644
square
#406FA6 #A640A2 #A67740 #40A644
split-complementary
#406FA6 #A64440 #A2A640
monochromatic
#1E344E #2F517A #406FA6 #618EC2 #8DADD3

Accessibility & contrast

On white

5.19
#406FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#406FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406FA6
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406FA6#FFFFFF#000000##FFFFFF
##406FA61.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5872A8
Deuteranopia (green-blind)
#4A68A5
Tritanopia (blue-blind)
#007C83
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #406fa6;
/* rgb */ color: rgb(64, 111, 166);
/* oklch */ color: oklch(53.4% 0.101 253.5);
Tailwind
colors: {
  custom: {
    50: '#7e98c0',
    500: '#406fa6',
    950: '#000000',
  },
}
SCSS
$custom: #406fa6;
$custom-light: #7e98c0;
$custom-dark: #000000;
JSON
{
  "hex": "#406fa6",
  "rgb": {
    "r": 64,
    "g": 111,
    "b": 166
  },
  "hsl": {
    "h": 212.353,
    "s": 44.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53368,
    "c": 0.1012,
    "h": 253.5
  },
  "luminance": 0.15212
}

Semantic roles & 50–950 ramp

primary
#406FA6
secondary
#BEA384
accent
#9954D4
background
#F8F9FB
surface
#EFF2F7
border
#CACCD0
text
#0B0D12
muted
#7C7E81

Preview Lab

Preview with #406FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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