#408BC7#408BC7

#408BC7 is a mid, moderate cyan. Relative luminance 0.237; OKLCH L 61.6% C 0.118 H 245.6°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#408BC7
RGBrgb(64, 139, 199)
HSLhsl(207, 55%, 52%)
HSVhsv(207, 68%, 78%)
CMYKcmyk(67.8%, 30.2%, 0%, 22%)
CIE-LABlab(55.76, -3.95, -37.88)
CIE-LCHlch(55.76, 38.09, 264.04°)
OKLaboklab(61.63% -0.0487 -0.1071)
OKLCHoklch(61.63% 0.118 245.6)
XYZxyz(21.6519, 23.6765, 57.4507)
Luminance0.2368 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408BC7 #C77C40
analogous
#40C7C0 #408BC7 #4048C7
triadic
#408BC7 #C7408B #8BC740
tetradic
#408BC7 #C040C7 #C77C40 #48C740
square
#408BC7 #C040C7 #C77C40 #48C740
split-complementary
#408BC7 #C74048 #C7C040
monochromatic
#204B6D #2E6B9C #408BC7 #6FA8D5 #9FC4E3

Accessibility & contrast

On white

3.66
#408BC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#408BC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408BC7
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408BC7#FFFFFF#000000##000000
##408BC71.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#708DCA
Deuteranopia (green-blind)
#5E80C6
Tritanopia (blue-blind)
#0099A0
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #408bc7;
/* rgb */ color: rgb(64, 139, 199);
/* oklch */ color: oklch(61.6% 0.118 245.6);
Tailwind
colors: {
  custom: {
    50: '#83acd8',
    500: '#408bc7',
    950: '#000000',
  },
}
SCSS
$custom: #408bc7;
$custom-light: #83acd8;
$custom-dark: #000000;
JSON
{
  "hex": "#408bc7",
  "rgb": {
    "r": 64,
    "g": 139,
    "b": 199
  },
  "hsl": {
    "h": 206.667,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.61626,
    "c": 0.11761,
    "h": 245.6
  },
  "luminance": 0.23679
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #408BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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