#406EA4#406EA4

#406EA4 is a mid, moderate cyan. Relative luminance 0.149; OKLCH L 53.0% C 0.100 H 253.5°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#406EA4
RGBrgb(64, 110, 164)
HSLhsl(212, 44%, 45%)
HSVhsv(212, 61%, 64%)
CMYKcmyk(61%, 32.9%, 0%, 35.7%)
CIE-LABlab(45.53, 1.28, -33.78)
CIE-LCHlch(45.53, 33.81, 272.17°)
OKLaboklab(53.03% -0.0282 -0.0954)
OKLCHoklch(53.03% 0.1 253.5)
XYZxyz(14.3887, 14.9209, 37.2365)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406EA4 #A47640
analogous
#40A0A4 #406EA4 #4440A4
triadic
#406EA4 #A4406E #6EA440
tetradic
#406EA4 #A440A0 #A47640 #40A444
square
#406EA4 #A440A0 #A47640 #40A444
split-complementary
#406EA4 #A44440 #A0A440
monochromatic
#1E334C #2F5078 #406EA4 #608DC1 #8CACD2

Accessibility & contrast

On white

5.27
#406EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#406EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406EA4
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406EA4#FFFFFF#000000##FFFFFF
##406EA41.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5771A6
Deuteranopia (green-blind)
#4A67A3
Tritanopia (blue-blind)
#007A81
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #406ea4;
/* rgb */ color: rgb(64, 110, 164);
/* oklch */ color: oklch(53.0% 0.100 253.5);
Tailwind
colors: {
  custom: {
    50: '#7e97bf',
    500: '#406ea4',
    950: '#000000',
  },
}
SCSS
$custom: #406ea4;
$custom-light: #7e97bf;
$custom-dark: #000000;
JSON
{
  "hex": "#406ea4",
  "rgb": {
    "r": 64,
    "g": 110,
    "b": 164
  },
  "hsl": {
    "h": 212.4,
    "s": 43.86,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53025,
    "c": 0.09951,
    "h": 253.5
  },
  "luminance": 0.14922
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #406EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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