#408DCC#408DCC

#408DCC is a light, vivid cyan. Relative luminance 0.245; OKLCH L 62.3% C 0.122 H 246.2°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#408DCC
RGBrgb(64, 141, 204)
HSLhsl(207, 58%, 53%)
HSVhsv(207, 69%, 80%)
CMYKcmyk(68.6%, 30.9%, 0%, 20%)
CIE-LABlab(56.58, -3.39, -39.42)
CIE-LCHlch(56.58, 39.57, 265.08°)
OKLaboklab(62.35% -0.0492 -0.1115)
OKLCHoklch(62.35% 0.122 246.2)
XYZxyz(22.5342, 24.4970, 60.6558)
Luminance0.2450 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408DCC #CC7F40
analogous
#40CCC5 #408DCC #4047CC
triadic
#408DCC #CC408D #8DCC40
tetradic
#408DCC #C540CC #CC7F40 #47CC40
square
#408DCC #C540CC #CC7F40 #47CC40
split-complementary
#408DCC #CC4047 #CCC540
monochromatic
#1F4D73 #2C6DA3 #408DCC #70AAD9 #A1C7E6

Accessibility & contrast

On white

3.56
#408DCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#408DCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408DCC
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408DCC#FFFFFF#000000##000000
##408DCC1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#718FCF
Deuteranopia (green-blind)
#5D82CB
Tritanopia (blue-blind)
#009CA3
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #408dcc;
/* rgb */ color: rgb(64, 141, 204);
/* oklch */ color: oklch(62.3% 0.122 246.2);
Tailwind
colors: {
  custom: {
    50: '#84aedc',
    500: '#408dcc',
    950: '#000000',
  },
}
SCSS
$custom: #408dcc;
$custom-light: #84aedc;
$custom-dark: #000000;
JSON
{
  "hex": "#408dcc",
  "rgb": {
    "r": 64,
    "g": 141,
    "b": 204
  },
  "hsl": {
    "h": 207,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.62349,
    "c": 0.12187,
    "h": 246.2
  },
  "luminance": 0.24499
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #408DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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