#406FA8#406FA8

#406FA8 is a mid, moderate cyan. Relative luminance 0.153; OKLCH L 53.5% C 0.104 H 254.3°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#406FA8
RGBrgb(64, 111, 168)
HSLhsl(213, 45%, 45%)
HSVhsv(213, 62%, 66%)
CMYKcmyk(61.9%, 33.9%, 0%, 34.1%)
CIE-LABlab(46.02, 2.05, -35.35)
CIE-LCHlch(46.02, 35.41, 273.32°)
OKLaboklab(53.48% -0.0282 -0.1)
OKLCHoklch(53.48% 0.104 254.3)
XYZxyz(14.8641, 15.2847, 39.2051)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406FA8 #A87940
analogous
#40A3A8 #406FA8 #4540A8
triadic
#406FA8 #A8406F #6FA840
tetradic
#406FA8 #A840A3 #A87940 #40A845
square
#406FA8 #A840A3 #A87940 #40A845
split-complementary
#406FA8 #A84540 #A3A840
monochromatic
#1E344F #2F527C #406FA8 #628EC3 #8EAED4

Accessibility & contrast

On white

5.18
#406FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#406FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406FA8
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406FA8#FFFFFF#000000##FFFFFF
##406FA81.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5772AA
Deuteranopia (green-blind)
#4968A7
Tritanopia (blue-blind)
#007C84
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #406fa8;
/* rgb */ color: rgb(64, 111, 168);
/* oklch */ color: oklch(53.5% 0.104 254.3);
Tailwind
colors: {
  custom: {
    50: '#7e98c2',
    500: '#406fa8',
    950: '#000000',
  },
}
SCSS
$custom: #406fa8;
$custom-light: #7e98c2;
$custom-dark: #000000;
JSON
{
  "hex": "#406fa8",
  "rgb": {
    "r": 64,
    "g": 111,
    "b": 168
  },
  "hsl": {
    "h": 212.885,
    "s": 44.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53479,
    "c": 0.10388,
    "h": 254.3
  },
  "luminance": 0.15286
}

Semantic roles & 50–950 ramp

primary
#406FA8
secondary
#BFA585
accent
#9A53D5
background
#F8F9FB
surface
#EFF2F7
border
#CACCD0
text
#0B0D12
muted
#7C7E81

Preview Lab

Preview with #406FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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