#406DAB#406DAB

#406DAB is a mid, moderate cyan. Relative luminance 0.150; OKLCH L 53.2% C 0.110 H 256.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#406DAB
RGBrgb(64, 109, 171)
HSLhsl(215, 46%, 46%)
HSVhsv(215, 63%, 67%)
CMYKcmyk(62.6%, 36.3%, 0%, 32.9%)
CIE-LABlab(45.59, 4.32, -37.79)
CIE-LCHlch(45.59, 38.04, 276.52°)
OKLaboklab(53.19% -0.0252 -0.1071)
OKLCHoklch(53.19% 0.11 256.8)
XYZxyz(14.9311, 14.9662, 40.6221)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406DAB #AB7E40
analogous
#40A2AB #406DAB #4840AB
triadic
#406DAB #AB406D #6DAB40
tetradic
#406DAB #AB40A2 #AB7E40 #40AB48
square
#406DAB #AB40A2 #AB7E40 #40AB48
split-complementary
#406DAB #AB4840 #A2AB40
monochromatic
#1F3452 #2F517E #406DAB #638CC5 #90ADD5

Accessibility & contrast

On white

5.26
#406DAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#406DAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406DAB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406DAB#FFFFFF#000000##FFFFFF
##406DAB1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5271AE
Deuteranopia (green-blind)
#4467AA
Tritanopia (blue-blind)
#007B84
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #406dab;
/* rgb */ color: rgb(64, 109, 171);
/* oklch */ color: oklch(53.2% 0.110 256.8);
Tailwind
colors: {
  custom: {
    50: '#7f96c4',
    500: '#406dab',
    950: '#000000',
  },
}
SCSS
$custom: #406dab;
$custom-light: #7f96c4;
$custom-dark: #000000;
JSON
{
  "hex": "#406dab",
  "rgb": {
    "r": 64,
    "g": 109,
    "b": 171
  },
  "hsl": {
    "h": 214.766,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53191,
    "c": 0.11005,
    "h": 256.8
  },
  "luminance": 0.14968
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #406DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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