#406FA5#406FA5

#406FA5 is a mid, moderate cyan. Relative luminance 0.152; OKLCH L 53.3% C 0.100 H 253.1°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#406FA5
RGBrgb(64, 111, 165)
HSLhsl(212, 44%, 45%)
HSVhsv(212, 61%, 65%)
CMYKcmyk(61.2%, 32.7%, 0%, 35.3%)
CIE-LABlab(45.87, 1.01, -33.83)
CIE-LCHlch(45.87, 33.84, 271.72°)
OKLaboklab(53.31% -0.029 -0.0955)
OKLCHoklch(53.31% 0.1 253.1)
XYZxyz(14.5879, 15.1742, 37.7502)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406FA5 #A57640
analogous
#40A2A5 #406FA5 #4340A5
triadic
#406FA5 #A5406F #6FA540
tetradic
#406FA5 #A540A2 #A57640 #40A543
square
#406FA5 #A540A2 #A57640 #40A543
split-complementary
#406FA5 #A54340 #A2A540
monochromatic
#1E344D #2F5179 #406FA5 #618EC2 #8DADD3

Accessibility & contrast

On white

5.20
#406FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #406FA5
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406FA5#FFFFFF#000000##FFFFFF
##406FA51.005.204.035.20
#FFFFFF5.201.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5872A7
Deuteranopia (green-blind)
#4B68A4
Tritanopia (blue-blind)
#007B82
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #406fa5;
/* rgb */ color: rgb(64, 111, 165);
/* oklch */ color: oklch(53.3% 0.100 253.1);
Tailwind
colors: {
  custom: {
    50: '#7e98c0',
    500: '#406fa5',
    950: '#000000',
  },
}
SCSS
$custom: #406fa5;
$custom-light: #7e98c0;
$custom-dark: #000000;
JSON
{
  "hex": "#406fa5",
  "rgb": {
    "r": 64,
    "g": 111,
    "b": 165
  },
  "hsl": {
    "h": 212.079,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53313,
    "c": 0.09986,
    "h": 253.1
  },
  "luminance": 0.15175
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #406FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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