#408CD7#408CD7

#408CD7 is a light, vivid cyan. Relative luminance 0.248; OKLCH L 62.7% C 0.136 H 250.6°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#408CD7
RGBrgb(64, 140, 215)
HSLhsl(210, 65%, 55%)
HSVhsv(210, 70%, 84%)
CMYKcmyk(70.2%, 34.9%, 0%, 15.7%)
CIE-LABlab(56.83, 1.02, -45.22)
CIE-LCHlch(56.83, 45.23, 271.29°)
OKLaboklab(62.72% -0.0451 -0.1284)
OKLCHoklch(62.72% 0.136 250.6)
XYZxyz(23.7536, 24.7499, 67.8021)
Luminance0.2475 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408CD7 #D78B40
analogous
#40D7D6 #408CD7 #4041D7
triadic
#408CD7 #D7408C #8CD740
tetradic
#408CD7 #D640D7 #D78B40 #41D740
square
#408CD7 #D640D7 #D78B40 #41D740
split-complementary
#408CD7 #D74041 #D7D640
monochromatic
#1B4F81 #266DB4 #408CD7 #73AAE2 #A5C9EC

Accessibility & contrast

On white

3.53
#408CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#408CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408CD7
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408CD7#FFFFFF#000000##000000
##408CD71.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A90DA
Deuteranopia (green-blind)
#5482D6
Tritanopia (blue-blind)
#009EA7
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #408cd7;
/* rgb */ color: rgb(64, 140, 215);
/* oklch */ color: oklch(62.7% 0.136 250.6);
Tailwind
colors: {
  custom: {
    50: '#86ade3',
    500: '#408cd7',
    950: '#000000',
  },
}
SCSS
$custom: #408cd7;
$custom-light: #86ade3;
$custom-dark: #000000;
JSON
{
  "hex": "#408cd7",
  "rgb": {
    "r": 64,
    "g": 140,
    "b": 215
  },
  "hsl": {
    "h": 209.801,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.62721,
    "c": 0.13613,
    "h": 250.6
  },
  "luminance": 0.24752
}

Semantic roles & 50–950 ramp

primary
#408CD7
secondary
#D9B99A
accent
#933FE8
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C1015
muted
#7D7F83

Preview Lab

Preview with #408CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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