#406EA7#406EA7

#406EA7 is a mid, moderate cyan. Relative luminance 0.150; OKLCH L 53.2% C 0.104 H 254.7°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#406EA7
RGBrgb(64, 110, 167)
HSLhsl(213, 45%, 45%)
HSVhsv(213, 62%, 65%)
CMYKcmyk(61.7%, 34.1%, 0%, 34.5%)
CIE-LABlab(45.68, 2.32, -35.31)
CIE-LCHlch(45.68, 35.38, 273.75°)
OKLaboklab(53.19% -0.0274 -0.0999)
OKLCHoklch(53.19% 0.104 254.7)
XYZxyz(14.6628, 15.0305, 38.6802)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406EA7 #A77940
analogous
#40A1A7 #406EA7 #4540A7
triadic
#406EA7 #A7406E #6EA740
tetradic
#406EA7 #A740A1 #A77940 #40A745
square
#406EA7 #A740A1 #A77940 #40A745
split-complementary
#406EA7 #A74540 #A1A740
monochromatic
#1E344F #2F517B #406EA7 #628DC3 #8EADD4

Accessibility & contrast

On white

5.24
#406EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#406EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406EA7
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406EA7#FFFFFF#000000##FFFFFF
##406EA71.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5672A9
Deuteranopia (green-blind)
#4868A6
Tritanopia (blue-blind)
#007B83
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #406ea7;
/* rgb */ color: rgb(64, 110, 167);
/* oklch */ color: oklch(53.2% 0.104 254.7);
Tailwind
colors: {
  custom: {
    50: '#7e97c1',
    500: '#406ea7',
    950: '#000000',
  },
}
SCSS
$custom: #406ea7;
$custom-light: #7e97c1;
$custom-dark: #000000;
JSON
{
  "hex": "#406ea7",
  "rgb": {
    "r": 64,
    "g": 110,
    "b": 167
  },
  "hsl": {
    "h": 213.204,
    "s": 44.589,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53192,
    "c": 0.10355,
    "h": 254.7
  },
  "luminance": 0.15032
}

Semantic roles & 50–950 ramp

primary
#406EA7
secondary
#BFA584
accent
#9B54D4
background
#F8F9FB
surface
#EFF2F7
border
#CACCD0
text
#0B0D12
muted
#7C7E81

Preview Lab

Preview with #406EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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