#406EA5#406EA5

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

Color values

HEX#406EA5
RGBrgb(64, 110, 165)
HSLhsl(213, 44%, 45%)
HSVhsv(213, 61%, 65%)
CMYKcmyk(61.2%, 33.3%, 0%, 35.3%)
CIE-LABlab(45.58, 1.63, -34.29)
CIE-LCHlch(45.58, 34.33, 272.72°)
OKLaboklab(53.08% -0.0279 -0.0969)
OKLCHoklch(53.08% 0.101 253.9)
XYZxyz(14.4794, 14.9571, 37.7140)
Luminance0.1496 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406EA5 #A57740
analogous
#40A1A5 #406EA5 #4440A5
triadic
#406EA5 #A5406E #6EA540
tetradic
#406EA5 #A540A1 #A57740 #40A544
square
#406EA5 #A540A1 #A57740 #40A544
split-complementary
#406EA5 #A54440 #A1A540
monochromatic
#1E334D #2F5179 #406EA5 #618DC2 #8DADD3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##406EA5#FFFFFF#000000##FFFFFF
##406EA51.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)
#5771A7
Deuteranopia (green-blind)
#4968A4
Tritanopia (blue-blind)
#007B82
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #406ea5;
/* rgb */ color: rgb(64, 110, 165);
/* oklch */ color: oklch(53.1% 0.101 253.9);
Tailwind
colors: {
  custom: {
    50: '#7e97c0',
    500: '#406ea5',
    950: '#000000',
  },
}
SCSS
$custom: #406ea5;
$custom-light: #7e97c0;
$custom-dark: #000000;
JSON
{
  "hex": "#406ea5",
  "rgb": {
    "r": 64,
    "g": 110,
    "b": 165
  },
  "hsl": {
    "h": 212.673,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53081,
    "c": 0.10085,
    "h": 253.9
  },
  "luminance": 0.14958
}

Semantic roles & 50–950 ramp

primary
#406EA5
secondary
#BEA383
accent
#9A54D4
background
#F8F9FB
surface
#EFF2F7
border
#CACCD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #406EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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