#408CC6#408CC6

#408CC6 is a mid, moderate cyan. Relative luminance 0.239; OKLCH L 61.8% C 0.116 H 244.4°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#408CC6
RGBrgb(64, 140, 198)
HSLhsl(206, 54%, 51%)
HSVhsv(206, 68%, 78%)
CMYKcmyk(67.7%, 29.3%, 0%, 22.4%)
CIE-LABlab(56.01, -4.88, -36.93)
CIE-LCHlch(56.01, 37.25, 262.48°)
OKLaboklab(61.81% -0.05 -0.1043)
OKLCHoklch(61.81% 0.116 244.4)
XYZxyz(21.6816, 23.9211, 56.8897)
Luminance0.2392 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408CC6 #C67A40
analogous
#40C6BD #408CC6 #4049C6
triadic
#408CC6 #C6408C #8CC640
tetradic
#408CC6 #BD40C6 #C67A40 #49C640
square
#408CC6 #BD40C6 #C67A40 #49C640
split-complementary
#408CC6 #C64049 #C6BD40
monochromatic
#204B6C #2E6C9B #408CC6 #6FA8D4 #9EC5E2

Accessibility & contrast

On white

3.63
#408CC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#408CC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408CC6
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408CC6#FFFFFF#000000##000000
##408CC61.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#728DC9
Deuteranopia (green-blind)
#6080C5
Tritanopia (blue-blind)
#009AA0
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #408cc6;
/* rgb */ color: rgb(64, 140, 198);
/* oklch */ color: oklch(61.8% 0.116 244.4);
Tailwind
colors: {
  custom: {
    50: '#83add7',
    500: '#408cc6',
    950: '#000000',
  },
}
SCSS
$custom: #408cc6;
$custom-light: #83add7;
$custom-dark: #000000;
JSON
{
  "hex": "#408cc6",
  "rgb": {
    "r": 64,
    "g": 140,
    "b": 198
  },
  "hsl": {
    "h": 205.97,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.61805,
    "c": 0.11564,
    "h": 244.4
  },
  "luminance": 0.23923
}

Semantic roles & 50–950 ramp

primary
#408CC6
secondary
#CEAD93
accent
#8A4ADD
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C1014
muted
#7D7F83

Preview Lab

Preview with #408CC6

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

Preview Lab → · Contrast checker → · Palette generator →

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