#406DA2#406DA2

#406DA2 is a mid, moderate cyan. Relative luminance 0.146; OKLCH L 52.7% C 0.098 H 253.6°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#406DA2
RGBrgb(64, 109, 162)
HSLhsl(212, 43%, 44%)
HSVhsv(212, 60%, 64%)
CMYKcmyk(60.5%, 32.7%, 0%, 36.5%)
CIE-LABlab(45.13, 1.21, -33.23)
CIE-LCHlch(45.13, 33.25, 272.08°)
OKLaboklab(52.68% -0.0277 -0.0938)
OKLCHoklch(52.68% 0.098 253.6)
XYZxyz(14.1022, 14.6346, 36.2570)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406DA2 #A27540
analogous
#409EA2 #406DA2 #4440A2
triadic
#406DA2 #A2406D #6DA240
tetradic
#406DA2 #A2409E #A27540 #40A244
square
#406DA2 #A2409E #A27540 #40A244
split-complementary
#406DA2 #A24440 #9EA240
monochromatic
#1D324A #2F4F76 #406DA2 #5F8CC0 #8BABD1

Accessibility & contrast

On white

5.35
#406DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#406DA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406DA2
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406DA2#FFFFFF#000000##FFFFFF
##406DA21.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5770A4
Deuteranopia (green-blind)
#4A67A1
Tritanopia (blue-blind)
#007980
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #406da2;
/* rgb */ color: rgb(64, 109, 162);
/* oklch */ color: oklch(52.7% 0.098 253.6);
Tailwind
colors: {
  custom: {
    50: '#7d96be',
    500: '#406da2',
    950: '#000000',
  },
}
SCSS
$custom: #406da2;
$custom-light: #7d96be;
$custom-dark: #000000;
JSON
{
  "hex": "#406da2",
  "rgb": {
    "r": 64,
    "g": 109,
    "b": 162
  },
  "hsl": {
    "h": 212.449,
    "s": 43.363,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52683,
    "c": 0.09781,
    "h": 253.6
  },
  "luminance": 0.14636
}

Semantic roles & 50–950 ramp

primary
#406DA2
secondary
#BCA182
accent
#9955D3
background
#F8F9FB
surface
#EFF1F6
border
#CACBD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #406DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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