#408EC0#408EC0

#408EC0 is a mid, moderate cyan. Relative luminance 0.242; OKLCH L 62.0% C 0.107 H 239.9°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#408EC0
RGBrgb(64, 142, 192)
HSLhsl(203, 50%, 50%)
HSVhsv(203, 67%, 75%)
CMYKcmyk(66.7%, 26%, 0%, 24.7%)
CIE-LABlab(56.33, -8.06, -33.03)
CIE-LCHlch(56.33, 34.00, 256.29°)
OKLaboklab(61.97% -0.0539 -0.093)
OKLCHoklch(61.97% 0.107 239.9)
XYZxyz(21.2981, 24.2395, 53.4152)
Luminance0.2424 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408EC0 #C07240
analogous
#40C0B2 #408EC0 #404EC0
triadic
#408EC0 #C0408E #8EC040
tetradic
#408EC0 #B240C0 #C07240 #4EC040
square
#408EC0 #B240C0 #C07240 #4EC040
split-complementary
#408EC0 #C0404E #C0B240
monochromatic
#214A64 #306C92 #408EC0 #6EA9CF #9CC4DE

Accessibility & contrast

On white

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

On black

5.85
#408EC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408EC0
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408EC0#FFFFFF#000000##000000
##408EC01.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#778EC2
Deuteranopia (green-blind)
#6581BF
Tritanopia (blue-blind)
#009B9F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #408ec0;
/* rgb */ color: rgb(64, 142, 192);
/* oklch */ color: oklch(62.0% 0.107 239.9);
Tailwind
colors: {
  custom: {
    50: '#82afd3',
    500: '#408ec0',
    950: '#000000',
  },
}
SCSS
$custom: #408ec0;
$custom-light: #82afd3;
$custom-dark: #000000;
JSON
{
  "hex": "#408ec0",
  "rgb": {
    "r": 64,
    "g": 142,
    "b": 192
  },
  "hsl": {
    "h": 203.438,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.61967,
    "c": 0.10749,
    "h": 239.9
  },
  "luminance": 0.24242
}

Semantic roles & 50–950 ramp

primary
#408EC0
secondary
#CBA891
accent
#854EDA
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C1014
muted
#7D7F82

Preview Lab

Preview with #408EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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