#408DC2#408DC2

#408DC2 is a mid, moderate cyan. Relative luminance 0.240; OKLCH L 61.8% C 0.110 H 241.7°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#408DC2
RGBrgb(64, 141, 194)
HSLhsl(204, 52%, 51%)
HSVhsv(204, 67%, 76%)
CMYKcmyk(67%, 27.3%, 0%, 23.9%)
CIE-LABlab(56.12, -6.81, -34.49)
CIE-LCHlch(56.12, 35.16, 258.83°)
OKLaboklab(61.83% -0.0522 -0.0972)
OKLCHoklch(61.83% 0.11 241.7)
XYZxyz(21.3731, 24.0325, 54.5408)
Luminance0.2404 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408DC2 #C27540
analogous
#40C2B6 #408DC2 #404CC2
triadic
#408DC2 #C2408D #8DC240
tetradic
#408DC2 #B640C2 #C27540 #4CC240
square
#408DC2 #B640C2 #C27540 #4CC240
split-complementary
#408DC2 #C2404C #C2B640
monochromatic
#214A67 #306C95 #408DC2 #6EA9D1 #9DC4E0

Accessibility & contrast

On white

3.62
#408DC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#408DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408DC2
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408DC2#FFFFFF#000000##000000
##408DC21.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#758EC4
Deuteranopia (green-blind)
#6381C1
Tritanopia (blue-blind)
#009A9F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #408dc2;
/* rgb */ color: rgb(64, 141, 194);
/* oklch */ color: oklch(61.8% 0.110 241.7);
Tailwind
colors: {
  custom: {
    50: '#83aed4',
    500: '#408dc2',
    950: '#000000',
  },
}
SCSS
$custom: #408dc2;
$custom-light: #83aed4;
$custom-dark: #000000;
JSON
{
  "hex": "#408dc2",
  "rgb": {
    "r": 64,
    "g": 141,
    "b": 194
  },
  "hsl": {
    "h": 204.462,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.61833,
    "c": 0.11036,
    "h": 241.7
  },
  "luminance": 0.24035
}

Semantic roles & 50–950 ramp

primary
#408DC2
secondary
#CCAA92
accent
#874DDB
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C1014
muted
#7D7F83

Preview Lab

Preview with #408DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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