#408EC7#408EC7

#408EC7 is a light, moderate cyan. Relative luminance 0.246; OKLCH L 62.3% C 0.115 H 243.4°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#408EC7
RGBrgb(64, 142, 199)
HSLhsl(205, 55%, 52%)
HSVhsv(205, 68%, 78%)
CMYKcmyk(67.8%, 28.6%, 0%, 22%)
CIE-LABlab(56.64, -5.69, -36.51)
CIE-LCHlch(56.64, 36.95, 261.15°)
OKLaboklab(62.32% -0.0517 -0.103)
OKLCHoklch(62.32% 0.115 243.4)
XYZxyz(22.0922, 24.5572, 57.5975)
Luminance0.2456 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408EC7 #C77940
analogous
#40C7BC #408EC7 #404BC7
triadic
#408EC7 #C7408E #8EC740
tetradic
#408EC7 #BC40C7 #C77940 #4BC740
square
#408EC7 #BC40C7 #C77940 #4BC740
split-complementary
#408EC7 #C7404B #C7BC40
monochromatic
#204C6D #2E6D9C #408EC7 #6FAAD5 #9FC6E3

Accessibility & contrast

On white

3.55
#408EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#408EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408EC7
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408EC7#FFFFFF#000000##000000
##408EC71.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#748FCA
Deuteranopia (green-blind)
#6282C6
Tritanopia (blue-blind)
#009CA2
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #408ec7;
/* rgb */ color: rgb(64, 142, 199);
/* oklch */ color: oklch(62.3% 0.115 243.4);
Tailwind
colors: {
  custom: {
    50: '#83aed8',
    500: '#408ec7',
    950: '#000000',
  },
}
SCSS
$custom: #408ec7;
$custom-light: #83aed8;
$custom-dark: #000000;
JSON
{
  "hex": "#408ec7",
  "rgb": {
    "r": 64,
    "g": 142,
    "b": 199
  },
  "hsl": {
    "h": 205.333,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.6232,
    "c": 0.11527,
    "h": 243.4
  },
  "luminance": 0.2456
}

Semantic roles & 50–950 ramp

primary
#408EC7
secondary
#CFAD94
accent
#884ADE
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C1014
muted
#7D7F83

Preview Lab

Preview with #408EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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