#408CC7#408CC7

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

Color values

HEX#408CC7
RGBrgb(64, 140, 199)
HSLhsl(206, 55%, 52%)
HSVhsv(206, 68%, 78%)
CMYKcmyk(67.8%, 29.6%, 0%, 22%)
CIE-LABlab(56.06, -4.53, -37.42)
CIE-LCHlch(56.06, 37.70, 263.09°)
OKLaboklab(61.86% -0.0497 -0.1057)
OKLCHoklch(61.86% 0.117 244.8)
XYZxyz(21.7973, 23.9674, 57.4992)
Luminance0.2397 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408CC7 #C77B40
analogous
#40C7BF #408CC7 #4049C7
triadic
#408CC7 #C7408C #8CC740
tetradic
#408CC7 #BF40C7 #C77B40 #49C740
square
#408CC7 #BF40C7 #C77B40 #49C740
split-complementary
#408CC7 #C74049 #C7BF40
monochromatic
#204B6D #2E6C9C #408CC7 #6FA8D5 #9FC5E3

Accessibility & contrast

On white

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

On black

5.79
#408CC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408CC7
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408CC7#FFFFFF#000000##000000
##408CC71.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#728ECA
Deuteranopia (green-blind)
#5F81C6
Tritanopia (blue-blind)
#009AA1
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #408cc7;
/* rgb */ color: rgb(64, 140, 199);
/* oklch */ color: oklch(61.9% 0.117 244.8);
Tailwind
colors: {
  custom: {
    50: '#83add8',
    500: '#408cc7',
    950: '#000000',
  },
}
SCSS
$custom: #408cc7;
$custom-light: #83add8;
$custom-dark: #000000;
JSON
{
  "hex": "#408cc7",
  "rgb": {
    "r": 64,
    "g": 140,
    "b": 199
  },
  "hsl": {
    "h": 206.222,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.61857,
    "c": 0.11681,
    "h": 244.8
  },
  "luminance": 0.2397
}

Semantic roles & 50–950 ramp

primary
#408CC7
secondary
#CFAE94
accent
#8B4ADE
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C1014
muted
#7D7F83

Preview Lab

Preview with #408CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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