#406FAB#406FAB

#406FAB is a mid, moderate cyan. Relative luminance 0.154; OKLCH L 53.6% C 0.108 H 255.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#406FAB
RGBrgb(64, 111, 171)
HSLhsl(214, 46%, 46%)
HSVhsv(214, 63%, 67%)
CMYKcmyk(62.6%, 35.1%, 0%, 32.9%)
CIE-LABlab(46.17, 3.09, -36.87)
CIE-LCHlch(46.17, 37.00, 274.79°)
OKLaboklab(53.65% -0.0274 -0.1044)
OKLCHoklch(53.65% 0.108 255.3)
XYZxyz(15.1468, 15.3977, 40.6940)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406FAB #AB7C40
analogous
#40A4AB #406FAB #4640AB
triadic
#406FAB #AB406F #6FAB40
tetradic
#406FAB #AB40A4 #AB7C40 #40AB46
square
#406FAB #AB40A4 #AB7C40 #40AB46
split-complementary
#406FAB #AB4640 #A4AB40
monochromatic
#1F3552 #2F527E #406FAB #638EC5 #90AED5

Accessibility & contrast

On white

5.15
#406FAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#406FAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406FAB
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406FAB#FFFFFF#000000##FFFFFF
##406FAB1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5573AD
Deuteranopia (green-blind)
#4769AA
Tritanopia (blue-blind)
#007D85
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #406fab;
/* rgb */ color: rgb(64, 111, 171);
/* oklch */ color: oklch(53.6% 0.108 255.3);
Tailwind
colors: {
  custom: {
    50: '#7f98c4',
    500: '#406fab',
    950: '#000000',
  },
}
SCSS
$custom: #406fab;
$custom-light: #7f98c4;
$custom-dark: #000000;
JSON
{
  "hex": "#406fab",
  "rgb": {
    "r": 64,
    "g": 111,
    "b": 171
  },
  "hsl": {
    "h": 213.645,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53648,
    "c": 0.10793,
    "h": 255.3
  },
  "luminance": 0.15399
}

Semantic roles & 50–950 ramp

primary
#406FAB
secondary
#C1A786
accent
#9C53D5
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0D12
muted
#7C7E81

Preview Lab

Preview with #406FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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