#408CC8#408CC8

#408CC8 is a mid, moderate cyan. Relative luminance 0.240; OKLCH L 61.9% C 0.118 H 245.3°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#408CC8
RGBrgb(64, 140, 200)
HSLhsl(206, 55%, 52%)
HSVhsv(206, 68%, 78%)
CMYKcmyk(68%, 30%, 0%, 21.6%)
CIE-LABlab(56.10, -4.19, -37.92)
CIE-LCHlch(56.10, 38.15, 263.69°)
OKLaboklab(61.91% -0.0494 -0.1072)
OKLCHoklch(61.91% 0.118 245.3)
XYZxyz(21.9138, 24.0140, 58.1126)
Luminance0.2402 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408CC8 #C87C40
analogous
#40C8C0 #408CC8 #4048C8
triadic
#408CC8 #C8408C #8CC840
tetradic
#408CC8 #C040C8 #C87C40 #48C840
square
#408CC8 #C040C8 #C87C40 #48C840
split-complementary
#408CC8 #C84048 #C8C040
monochromatic
#204B6E #2D6C9D #408CC8 #70A9D6 #9FC5E3

Accessibility & contrast

On white

3.62
#408CC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#408CC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408CC8
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408CC8#FFFFFF#000000##000000
##408CC81.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#718ECB
Deuteranopia (green-blind)
#5E81C7
Tritanopia (blue-blind)
#009AA1
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #408cc8;
/* rgb */ color: rgb(64, 140, 200);
/* oklch */ color: oklch(61.9% 0.118 245.3);
Tailwind
colors: {
  custom: {
    50: '#84add9',
    500: '#408cc8',
    950: '#000000',
  },
}
SCSS
$custom: #408cc8;
$custom-light: #84add9;
$custom-dark: #000000;
JSON
{
  "hex": "#408cc8",
  "rgb": {
    "r": 64,
    "g": 140,
    "b": 200
  },
  "hsl": {
    "h": 206.471,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.61909,
    "c": 0.11798,
    "h": 245.3
  },
  "luminance": 0.24016
}

Semantic roles & 50–950 ramp

primary
#408CC8
secondary
#D0AE94
accent
#8B49DF
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C1014
muted
#7D7F83

Preview Lab

Preview with #408CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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