#406CA9#406CA9

#406CA9 is a mid, moderate cyan. Relative luminance 0.147; OKLCH L 52.8% C 0.108 H 256.9°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#406CA9
RGBrgb(64, 108, 169)
HSLhsl(215, 45%, 46%)
HSVhsv(215, 62%, 66%)
CMYKcmyk(62.1%, 36.1%, 0%, 33.7%)
CIE-LABlab(45.19, 4.24, -37.25)
CIE-LCHlch(45.19, 37.49, 276.50°)
OKLaboklab(52.85% -0.0246 -0.1055)
OKLCHoklch(52.85% 0.108 256.9)
XYZxyz(14.6358, 14.6784, 39.5903)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406CA9 #A97D40
analogous
#40A0A9 #406CA9 #4840A9
triadic
#406CA9 #A9406C #6CA940
tetradic
#406CA9 #A940A0 #A97D40 #40A948
square
#406CA9 #A940A0 #A97D40 #40A948
split-complementary
#406CA9 #A94840 #A0A940
monochromatic
#1E3350 #2F507D #406CA9 #628BC4 #8FACD5

Accessibility & contrast

On white

5.34
#406CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#406CA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406CA9
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406CA9#FFFFFF#000000##FFFFFF
##406CA91.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #406ca9;
/* rgb */ color: rgb(64, 108, 169);
/* oklch */ color: oklch(52.8% 0.108 256.9);
Tailwind
colors: {
  custom: {
    50: '#7e95c3',
    500: '#406ca9',
    950: '#000000',
  },
}
SCSS
$custom: #406ca9;
$custom-light: #7e95c3;
$custom-dark: #000000;
JSON
{
  "hex": "#406ca9",
  "rgb": {
    "r": 64,
    "g": 108,
    "b": 169
  },
  "hsl": {
    "h": 214.857,
    "s": 45.064,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52847,
    "c": 0.10838,
    "h": 256.9
  },
  "luminance": 0.1468
}

Semantic roles & 50–950 ramp

primary
#406CA9
secondary
#C0A785
accent
#9E53D5
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0B0D12
muted
#7C7E81

Preview Lab

Preview with #406CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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