#408EC6#408EC6

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

Color values

HEX#408EC6
RGBrgb(64, 142, 198)
HSLhsl(205, 54%, 51%)
HSVhsv(205, 68%, 78%)
CMYKcmyk(67.7%, 28.3%, 0%, 22.4%)
CIE-LABlab(56.60, -6.03, -36.01)
CIE-LCHlch(56.60, 36.51, 260.50°)
OKLaboklab(62.27% -0.052 -0.1016)
OKLCHoklch(62.27% 0.114 242.9)
XYZxyz(21.9765, 24.5109, 56.9880)
Luminance0.2451 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408EC6 #C67840
analogous
#40C6BB #408EC6 #404BC6
triadic
#408EC6 #C6408E #8EC640
tetradic
#408EC6 #BB40C6 #C67840 #4BC640
square
#408EC6 #BB40C6 #C67840 #4BC640
split-complementary
#408EC6 #C6404B #C6BB40
monochromatic
#204C6C #2E6D9B #408EC6 #6FAAD4 #9EC6E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##408EC6#FFFFFF#000000##000000
##408EC61.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)
#758FC9
Deuteranopia (green-blind)
#6282C5
Tritanopia (blue-blind)
#009CA2
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #408ec6;
/* rgb */ color: rgb(64, 142, 198);
/* oklch */ color: oklch(62.3% 0.114 242.9);
Tailwind
colors: {
  custom: {
    50: '#83aed7',
    500: '#408ec6',
    950: '#000000',
  },
}
SCSS
$custom: #408ec6;
$custom-light: #83aed7;
$custom-dark: #000000;
JSON
{
  "hex": "#408ec6",
  "rgb": {
    "r": 64,
    "g": 142,
    "b": 198
  },
  "hsl": {
    "h": 205.075,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.62269,
    "c": 0.11414,
    "h": 242.9
  },
  "luminance": 0.24513
}

Semantic roles & 50–950 ramp

primary
#408EC6
secondary
#CEAC93
accent
#884ADD
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C1014
muted
#7D7F83

Preview Lab

Preview with #408EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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