#408EA7#408EA7

#408EA7 is a mid, moderate cyan. Relative luminance 0.232; OKLCH L 60.8% C 0.085 H 221.9°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#408EA7
RGBrgb(64, 142, 167)
HSLhsl(195, 45%, 45%)
HSVhsv(195, 62%, 65%)
CMYKcmyk(61.7%, 15%, 0%, 34.5%)
CIE-LABlab(55.30, -16.22, -20.36)
CIE-LCHlch(55.30, 26.03, 231.45°)
OKLaboklab(60.81% -0.063 -0.0567)
OKLCHoklch(60.81% 0.085 221.9)
XYZxyz(18.7596, 23.2241, 40.0458)
Luminance0.2323 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408EA7 #A75940
analogous
#40A78C #408EA7 #405AA7
triadic
#408EA7 #A7408E #8EA740
tetradic
#408EA7 #8C40A7 #A75940 #5AA740
square
#408EA7 #8C40A7 #A75940 #5AA740
split-complementary
#408EA7 #A7405A #A78C40
monochromatic
#1E434F #2F687B #408EA7 #62ABC3 #8EC3D4

Accessibility & contrast

On white

3.72
#408EA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#408EA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408EA7
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408EA7#FFFFFF#000000##000000
##408EA71.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8BA8
Deuteranopia (green-blind)
#7080A7
Tritanopia (blue-blind)
#009696
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #408ea7;
/* rgb */ color: rgb(64, 142, 167);
/* oklch */ color: oklch(60.8% 0.085 221.9);
Tailwind
colors: {
  custom: {
    50: '#7fafc1',
    500: '#408ea7',
    950: '#000000',
  },
}
SCSS
$custom: #408ea7;
$custom-light: #7fafc1;
$custom-dark: #000000;
JSON
{
  "hex": "#408ea7",
  "rgb": {
    "r": 64,
    "g": 142,
    "b": 167
  },
  "hsl": {
    "h": 194.563,
    "s": 44.589,
    "l": 45.294
  },
  "oklch": {
    "l": 0.60813,
    "c": 0.08476,
    "h": 221.9
  },
  "luminance": 0.23226
}

Semantic roles & 50–950 ramp

primary
#408EA7
secondary
#BF9284
accent
#7354D4
background
#F8FAFB
surface
#EFF4F7
border
#CACED0
text
#0B1012
muted
#7C7F81

Preview Lab

Preview with #408EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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