#406FA7#406FA7

#406FA7 is a mid, moderate cyan. Relative luminance 0.152; OKLCH L 53.4% C 0.103 H 253.9°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#406FA7
RGBrgb(64, 111, 167)
HSLhsl(213, 45%, 45%)
HSVhsv(213, 62%, 65%)
CMYKcmyk(61.7%, 33.5%, 0%, 34.5%)
CIE-LABlab(45.97, 1.70, -34.84)
CIE-LCHlch(45.97, 34.89, 272.80°)
OKLaboklab(53.42% -0.0285 -0.0985)
OKLCHoklch(53.42% 0.103 253.9)
XYZxyz(14.7713, 15.2475, 38.7164)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406FA7 #A77840
analogous
#40A3A7 #406FA7 #4440A7
triadic
#406FA7 #A7406F #6FA740
tetradic
#406FA7 #A740A3 #A77840 #40A744
square
#406FA7 #A740A3 #A77840 #40A744
split-complementary
#406FA7 #A74440 #A3A740
monochromatic
#1E344F #2F527B #406FA7 #628EC3 #8EAED4

Accessibility & contrast

On white

5.19
#406FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#406FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406FA7
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406FA7#FFFFFF#000000##FFFFFF
##406FA71.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5772A9
Deuteranopia (green-blind)
#4968A6
Tritanopia (blue-blind)
#007C83
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #406fa7;
/* rgb */ color: rgb(64, 111, 167);
/* oklch */ color: oklch(53.4% 0.103 253.9);
Tailwind
colors: {
  custom: {
    50: '#7e98c1',
    500: '#406fa7',
    950: '#000000',
  },
}
SCSS
$custom: #406fa7;
$custom-light: #7e98c1;
$custom-dark: #000000;
JSON
{
  "hex": "#406fa7",
  "rgb": {
    "r": 64,
    "g": 111,
    "b": 167
  },
  "hsl": {
    "h": 212.621,
    "s": 44.589,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53423,
    "c": 0.10254,
    "h": 253.9
  },
  "luminance": 0.15249
}

Semantic roles & 50–950 ramp

primary
#406FA7
secondary
#BFA484
accent
#9A54D4
background
#F8F9FB
surface
#EFF2F7
border
#CACCD0
text
#0B0D12
muted
#7C7E81

Preview Lab

Preview with #406FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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