#406DA8#406DA8

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

Color values

HEX#406DA8
RGBrgb(64, 109, 168)
HSLhsl(214, 45%, 45%)
HSVhsv(214, 62%, 66%)
CMYKcmyk(61.9%, 35.1%, 0%, 34.1%)
CIE-LABlab(45.43, 3.28, -36.28)
CIE-LCHlch(45.43, 36.43, 275.16°)
OKLaboklab(53.02% -0.026 -0.1027)
OKLCHoklch(53.02% 0.106 255.8)
XYZxyz(14.6484, 14.8531, 39.1332)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406DA8 #A87B40
analogous
#40A1A8 #406DA8 #4740A8
triadic
#406DA8 #A8406D #6DA840
tetradic
#406DA8 #A840A1 #A87B40 #40A847
square
#406DA8 #A840A1 #A87B40 #40A847
split-complementary
#406DA8 #A84740 #A1A840
monochromatic
#1E334F #2F507C #406DA8 #628CC3 #8EADD4

Accessibility & contrast

On white

5.29
#406DA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#406DA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406DA8
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406DA8#FFFFFF#000000##FFFFFF
##406DA81.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5471AA
Deuteranopia (green-blind)
#4667A7
Tritanopia (blue-blind)
#007A82
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #406da8;
/* rgb */ color: rgb(64, 109, 168);
/* oklch */ color: oklch(53.0% 0.106 255.8);
Tailwind
colors: {
  custom: {
    50: '#7e96c2',
    500: '#406da8',
    950: '#000000',
  },
}
SCSS
$custom: #406da8;
$custom-light: #7e96c2;
$custom-dark: #000000;
JSON
{
  "hex": "#406da8",
  "rgb": {
    "r": 64,
    "g": 109,
    "b": 168
  },
  "hsl": {
    "h": 214.038,
    "s": 44.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53018,
    "c": 0.10594,
    "h": 255.8
  },
  "luminance": 0.14854
}

Semantic roles & 50–950 ramp

primary
#406DA8
secondary
#BFA685
accent
#9D53D5
background
#F8F9FB
surface
#EFF1F7
border
#CACBD0
text
#0B0D12
muted
#7C7E81

Preview Lab

Preview with #406DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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