#406CA8#406CA8

#406CA8 is a mid, moderate cyan. Relative luminance 0.146; OKLCH L 52.8% C 0.107 H 256.6°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#406CA8
RGBrgb(64, 108, 168)
HSLhsl(215, 45%, 45%)
HSVhsv(215, 62%, 66%)
CMYKcmyk(61.9%, 35.7%, 0%, 34.1%)
CIE-LABlab(45.14, 3.90, -36.74)
CIE-LCHlch(45.14, 36.95, 276.05°)
OKLaboklab(52.79% -0.0249 -0.1041)
OKLCHoklch(52.79% 0.107 256.6)
XYZxyz(14.5423, 14.6409, 39.0978)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406CA8 #A87C40
analogous
#40A0A8 #406CA8 #4840A8
triadic
#406CA8 #A8406C #6CA840
tetradic
#406CA8 #A840A0 #A87C40 #40A848
square
#406CA8 #A840A0 #A87C40 #40A848
split-complementary
#406CA8 #A84840 #A0A840
monochromatic
#1E334F #2F507C #406CA8 #628BC3 #8EACD4

Accessibility & contrast

On white

5.35
#406CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#406CA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406CA8
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406CA8#FFFFFF#000000##FFFFFF
##406CA81.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5270AA
Deuteranopia (green-blind)
#4466A7
Tritanopia (blue-blind)
#007A82
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #406ca8;
/* rgb */ color: rgb(64, 108, 168);
/* oklch */ color: oklch(52.8% 0.107 256.6);
Tailwind
colors: {
  custom: {
    50: '#7e95c2',
    500: '#406ca8',
    950: '#000000',
  },
}
SCSS
$custom: #406ca8;
$custom-light: #7e95c2;
$custom-dark: #000000;
JSON
{
  "hex": "#406ca8",
  "rgb": {
    "r": 64,
    "g": 108,
    "b": 168
  },
  "hsl": {
    "h": 214.615,
    "s": 44.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52789,
    "c": 0.10701,
    "h": 256.6
  },
  "luminance": 0.14642
}

Semantic roles & 50–950 ramp

primary
#406CA8
secondary
#BFA685
accent
#9E53D5
background
#F8F9FB
surface
#EFF1F7
border
#CACBD0
text
#0B0D12
muted
#7C7E81

Preview Lab

Preview with #406CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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