#408DC4#408DC4

#408DC4 is a mid, moderate cyan. Relative luminance 0.241; OKLCH L 61.9% C 0.113 H 242.7°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#408DC4
RGBrgb(64, 141, 196)
HSLhsl(205, 53%, 51%)
HSVhsv(205, 67%, 77%)
CMYKcmyk(67.3%, 28.1%, 0%, 23.1%)
CIE-LABlab(56.21, -6.13, -35.48)
CIE-LCHlch(56.21, 36.01, 260.19°)
OKLaboklab(61.93% -0.0516 -0.1001)
OKLCHoklch(61.93% 0.113 242.7)
XYZxyz(21.5992, 24.1230, 55.7317)
Luminance0.2412 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408DC4 #C47740
analogous
#40C4B9 #408DC4 #404BC4
triadic
#408DC4 #C4408D #8DC440
tetradic
#408DC4 #B940C4 #C47740 #4BC440
square
#408DC4 #B940C4 #C47740 #4BC440
split-complementary
#408DC4 #C4404B #C4B940
monochromatic
#204B69 #2F6C98 #408DC4 #6FA9D2 #9EC5E1

Accessibility & contrast

On white

3.61
#408DC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#408DC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408DC4
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408DC4#FFFFFF#000000##000000
##408DC41.003.615.835.83
#FFFFFF3.611.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#748EC6
Deuteranopia (green-blind)
#6281C3
Tritanopia (blue-blind)
#009AA0
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #408dc4;
/* rgb */ color: rgb(64, 141, 196);
/* oklch */ color: oklch(61.9% 0.113 242.7);
Tailwind
colors: {
  custom: {
    50: '#83aed6',
    500: '#408dc4',
    950: '#000000',
  },
}
SCSS
$custom: #408dc4;
$custom-light: #83aed6;
$custom-dark: #000000;
JSON
{
  "hex": "#408dc4",
  "rgb": {
    "r": 64,
    "g": 141,
    "b": 196
  },
  "hsl": {
    "h": 205,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.61934,
    "c": 0.1126,
    "h": 242.7
  },
  "luminance": 0.24125
}

Semantic roles & 50–950 ramp

primary
#408DC4
secondary
#CDAB93
accent
#884CDC
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C1014
muted
#7D7F83

Preview Lab

Preview with #408DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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