#408CDF#408CDF

#408CDF is a light, vivid cyan. Relative luminance 0.252; OKLCH L 63.2% C 0.146 H 252.9°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#408CDF
RGBrgb(64, 140, 223)
HSLhsl(211, 71%, 56%)
HSVhsv(211, 71%, 87%)
CMYKcmyk(71.3%, 37.2%, 0%, 12.5%)
CIE-LABlab(57.24, 3.83, -49.05)
CIE-LCHlch(57.24, 49.19, 274.47°)
OKLaboklab(63.18% -0.0431 -0.1396)
OKLCHoklch(63.18% 0.146 252.9)
XYZxyz(24.8068, 25.1711, 73.3489)
Luminance0.2517 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408CDF #DF9340
analogous
#40DBDF #408CDF #4440DF
triadic
#408CDF #DF408C #8CDF40
tetradic
#408CDF #DF40DB #DF9340 #40DF44
square
#408CDF #DF40DB #DF9340 #40DF44
split-complementary
#408CDF #DF4440 #DBDF40
monochromatic
#18508D #206DC1 #408CDF #74ACE8 #A9CBF1

Accessibility & contrast

On white

3.48
#408CDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#408CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408CDF
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408CDF#FFFFFF#000000##000000
##408CDF1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6691E2
Deuteranopia (green-blind)
#4E83DD
Tritanopia (blue-blind)
#009FAB
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #408cdf;
/* rgb */ color: rgb(64, 140, 223);
/* oklch */ color: oklch(63.2% 0.146 252.9);
Tailwind
colors: {
  custom: {
    50: '#87ade9',
    500: '#408cdf',
    950: '#000000',
  },
}
SCSS
$custom: #408cdf;
$custom-light: #87ade9;
$custom-dark: #000000;
JSON
{
  "hex": "#408cdf",
  "rgb": {
    "r": 64,
    "g": 140,
    "b": 223
  },
  "hsl": {
    "h": 211.321,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63177,
    "c": 0.14613,
    "h": 252.9
  },
  "luminance": 0.25174
}

Semantic roles & 50–950 ramp

primary
#408CDF
secondary
#DEBF9D
accent
#983AEE
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D1016
muted
#7E7F84

Preview Lab

Preview with #408CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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