#408EC1#408EC1

#408EC1 is a light, moderate cyan. Relative luminance 0.243; OKLCH L 62.0% C 0.109 H 240.4°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#408EC1
RGBrgb(64, 142, 193)
HSLhsl(204, 51%, 50%)
HSVhsv(204, 67%, 76%)
CMYKcmyk(66.8%, 26.4%, 0%, 24.3%)
CIE-LABlab(56.37, -7.72, -33.53)
CIE-LCHlch(56.37, 34.41, 257.03°)
OKLaboklab(62.02% -0.0536 -0.0944)
OKLCHoklch(62.02% 0.109 240.4)
XYZxyz(21.4093, 24.2840, 54.0007)
Luminance0.2429 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408EC1 #C17340
analogous
#40C1B3 #408EC1 #404DC1
triadic
#408EC1 #C1408E #8EC140
tetradic
#408EC1 #B340C1 #C17340 #4DC140
square
#408EC1 #B340C1 #C17340 #4DC140
split-complementary
#408EC1 #C1404D #C1B340
monochromatic
#214A66 #306C94 #408EC1 #6EA9D0 #9CC5DF

Accessibility & contrast

On white

3.59
#408EC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#408EC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408EC1
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408EC1#FFFFFF#000000##000000
##408EC11.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#778EC3
Deuteranopia (green-blind)
#6582C0
Tritanopia (blue-blind)
#009BA0
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #408ec1;
/* rgb */ color: rgb(64, 142, 193);
/* oklch */ color: oklch(62.0% 0.109 240.4);
Tailwind
colors: {
  custom: {
    50: '#83aed4',
    500: '#408ec1',
    950: '#000000',
  },
}
SCSS
$custom: #408ec1;
$custom-light: #83aed4;
$custom-dark: #000000;
JSON
{
  "hex": "#408ec1",
  "rgb": {
    "r": 64,
    "g": 142,
    "b": 193
  },
  "hsl": {
    "h": 203.721,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.62017,
    "c": 0.10858,
    "h": 240.4
  },
  "luminance": 0.24286
}

Semantic roles & 50–950 ramp

primary
#408EC1
secondary
#CBA892
accent
#854DDA
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C1014
muted
#7D7F83

Preview Lab

Preview with #408EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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