#408CCC#408CCC

#408CCC is a light, vivid cyan. Relative luminance 0.242; OKLCH L 62.1% C 0.123 H 246.9°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#408CCC
RGBrgb(64, 140, 204)
HSLhsl(207, 58%, 53%)
HSVhsv(207, 69%, 80%)
CMYKcmyk(68.6%, 31.4%, 0%, 20%)
CIE-LABlab(56.29, -2.81, -39.88)
CIE-LCHlch(56.29, 39.98, 265.97°)
OKLaboklab(62.12% -0.0482 -0.1129)
OKLCHoklch(62.12% 0.123 246.9)
XYZxyz(22.3874, 24.2034, 60.6069)
Luminance0.2421 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408CCC #CC8040
analogous
#40CCC6 #408CCC #4046CC
triadic
#408CCC #CC408C #8CCC40
tetradic
#408CCC #C640CC #CC8040 #46CC40
square
#408CCC #C640CC #CC8040 #46CC40
split-complementary
#408CCC #CC4046 #CCC640
monochromatic
#1F4C73 #2C6DA3 #408CCC #70A9D9 #A1C6E6

Accessibility & contrast

On white

3.60
#408CCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#408CCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408CCC
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408CCC#FFFFFF#000000##000000
##408CCC1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8ECF
Deuteranopia (green-blind)
#5C81CB
Tritanopia (blue-blind)
#009BA3
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #408ccc;
/* rgb */ color: rgb(64, 140, 204);
/* oklch */ color: oklch(62.1% 0.123 246.9);
Tailwind
colors: {
  custom: {
    50: '#84addc',
    500: '#408ccc',
    950: '#000000',
  },
}
SCSS
$custom: #408ccc;
$custom-light: #84addc;
$custom-dark: #000000;
JSON
{
  "hex": "#408ccc",
  "rgb": {
    "r": 64,
    "g": 140,
    "b": 204
  },
  "hsl": {
    "h": 207.429,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.6212,
    "c": 0.12272,
    "h": 246.9
  },
  "luminance": 0.24206
}

Semantic roles & 50–950 ramp

primary
#408CCC
secondary
#D2B195
accent
#8D47E1
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C1015
muted
#7D7F83

Preview Lab

Preview with #408CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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