#406FA4#406FA4

#406FA4 is a mid, moderate cyan. Relative luminance 0.151; OKLCH L 53.3% C 0.099 H 252.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#406FA4
RGBrgb(64, 111, 164)
HSLhsl(212, 44%, 45%)
HSVhsv(212, 61%, 64%)
CMYKcmyk(61%, 32.3%, 0%, 35.7%)
CIE-LABlab(45.82, 0.67, -33.32)
CIE-LCHlch(45.82, 33.32, 271.15°)
OKLaboklab(53.26% -0.0293 -0.0941)
OKLCHoklch(53.26% 0.099 252.7)
XYZxyz(14.4972, 15.1379, 37.2727)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406FA4 #A47540
analogous
#40A1A4 #406FA4 #4340A4
triadic
#406FA4 #A4406F #6FA440
tetradic
#406FA4 #A440A1 #A47540 #40A443
square
#406FA4 #A440A1 #A47540 #40A443
split-complementary
#406FA4 #A44340 #A1A440
monochromatic
#1E334C #2F5178 #406FA4 #608EC1 #8CADD2

Accessibility & contrast

On white

5.21
#406FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#406FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406FA4
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406FA4#FFFFFF#000000##FFFFFF
##406FA41.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5972A6
Deuteranopia (green-blind)
#4B68A3
Tritanopia (blue-blind)
#007B82
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #406fa4;
/* rgb */ color: rgb(64, 111, 164);
/* oklch */ color: oklch(53.3% 0.099 252.7);
Tailwind
colors: {
  custom: {
    50: '#7e98bf',
    500: '#406fa4',
    950: '#000000',
  },
}
SCSS
$custom: #406fa4;
$custom-light: #7e98bf;
$custom-dark: #000000;
JSON
{
  "hex": "#406fa4",
  "rgb": {
    "r": 64,
    "g": 111,
    "b": 164
  },
  "hsl": {
    "h": 211.8,
    "s": 43.86,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53258,
    "c": 0.09853,
    "h": 252.7
  },
  "luminance": 0.15139
}

Semantic roles & 50–950 ramp

primary
#406FA4
secondary
#BDA283
accent
#9854D4
background
#F8F9FB
surface
#EFF2F7
border
#CACCD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #406FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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