#406CA7#406CA7

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

Color values

HEX#406CA7
RGBrgb(64, 108, 167)
HSLhsl(214, 45%, 45%)
HSVhsv(214, 62%, 65%)
CMYKcmyk(61.7%, 35.3%, 0%, 34.5%)
CIE-LABlab(45.09, 3.55, -36.24)
CIE-LCHlch(45.09, 36.41, 275.60°)
OKLaboklab(52.73% -0.0251 -0.1026)
OKLCHoklch(52.73% 0.106 256.2)
XYZxyz(14.4495, 14.6038, 38.6091)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406CA7 #A77B40
analogous
#409FA7 #406CA7 #4740A7
triadic
#406CA7 #A7406C #6CA740
tetradic
#406CA7 #A7409F #A77B40 #40A747
square
#406CA7 #A7409F #A77B40 #40A747
split-complementary
#406CA7 #A74740 #9FA740
monochromatic
#1E334F #2F4F7B #406CA7 #628BC3 #8EACD4

Accessibility & contrast

On white

5.36
#406CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#406CA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406CA7
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406CA7#FFFFFF#000000##FFFFFF
##406CA71.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5370A9
Deuteranopia (green-blind)
#4566A6
Tritanopia (blue-blind)
#007981
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #406ca7;
/* rgb */ color: rgb(64, 108, 167);
/* oklch */ color: oklch(52.7% 0.106 256.2);
Tailwind
colors: {
  custom: {
    50: '#7e95c1',
    500: '#406ca7',
    950: '#000000',
  },
}
SCSS
$custom: #406ca7;
$custom-light: #7e95c1;
$custom-dark: #000000;
JSON
{
  "hex": "#406ca7",
  "rgb": {
    "r": 64,
    "g": 108,
    "b": 167
  },
  "hsl": {
    "h": 214.369,
    "s": 44.589,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52732,
    "c": 0.10564,
    "h": 256.2
  },
  "luminance": 0.14605
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #406CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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