#406CA6#406CA6

#406CA6 is a mid, moderate cyan. Relative luminance 0.146; OKLCH L 52.7% C 0.104 H 255.9°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#406CA6
RGBrgb(64, 108, 166)
HSLhsl(214, 44%, 45%)
HSVhsv(214, 61%, 65%)
CMYKcmyk(61.4%, 34.9%, 0%, 34.9%)
CIE-LABlab(45.04, 3.20, -35.73)
CIE-LCHlch(45.04, 35.87, 275.12°)
OKLaboklab(52.68% -0.0254 -0.1011)
OKLCHoklch(52.68% 0.104 255.9)
XYZxyz(14.3574, 14.5670, 38.1241)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406CA6 #A67A40
analogous
#409FA6 #406CA6 #4740A6
triadic
#406CA6 #A6406C #6CA640
tetradic
#406CA6 #A6409F #A67A40 #40A647
square
#406CA6 #A6409F #A67A40 #40A647
split-complementary
#406CA6 #A64740 #9FA640
monochromatic
#1E334E #2F4F7A #406CA6 #618BC2 #8DABD3

Accessibility & contrast

On white

5.37
#406CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#406CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406CA6
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406CA6#FFFFFF#000000##FFFFFF
##406CA61.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5370A8
Deuteranopia (green-blind)
#4666A5
Tritanopia (blue-blind)
#007981
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #406ca6;
/* rgb */ color: rgb(64, 108, 166);
/* oklch */ color: oklch(52.7% 0.104 255.9);
Tailwind
colors: {
  custom: {
    50: '#7e95c0',
    500: '#406ca6',
    950: '#000000',
  },
}
SCSS
$custom: #406ca6;
$custom-light: #7e95c0;
$custom-dark: #000000;
JSON
{
  "hex": "#406ca6",
  "rgb": {
    "r": 64,
    "g": 108,
    "b": 166
  },
  "hsl": {
    "h": 214.118,
    "s": 44.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52675,
    "c": 0.10426,
    "h": 255.9
  },
  "luminance": 0.14568
}

Semantic roles & 50–950 ramp

primary
#406CA6
secondary
#BEA584
accent
#9D54D4
background
#F8F9FB
surface
#EFF1F7
border
#CACBD0
text
#0B0D12
muted
#7C7E81

Preview Lab

Preview with #406CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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