#408DC5#408DC5

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

Color values

HEX#408DC5
RGBrgb(64, 141, 197)
HSLhsl(205, 53%, 51%)
HSVhsv(205, 68%, 77%)
CMYKcmyk(67.5%, 28.4%, 0%, 22.7%)
CIE-LABlab(56.26, -5.79, -35.98)
CIE-LCHlch(56.26, 36.44, 260.85°)
OKLaboklab(61.99% -0.0513 -0.1015)
OKLCHoklch(61.99% 0.114 243.2)
XYZxyz(21.7134, 24.1687, 56.3332)
Luminance0.2417 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408DC5 #C57840
analogous
#40C5BA #408DC5 #404AC5
triadic
#408DC5 #C5408D #8DC540
tetradic
#408DC5 #BA40C5 #C57840 #4AC540
square
#408DC5 #BA40C5 #C57840 #4AC540
split-complementary
#408DC5 #C5404A #C5BA40
monochromatic
#204B6A #2F6C99 #408DC5 #6FA9D3 #9EC5E2

Accessibility & contrast

On white

3.60
#408DC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##408DC5#FFFFFF#000000##000000
##408DC51.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#748EC8
Deuteranopia (green-blind)
#6181C4
Tritanopia (blue-blind)
#009BA1
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #408dc5;
/* rgb */ color: rgb(64, 141, 197);
/* oklch */ color: oklch(62.0% 0.114 243.2);
Tailwind
colors: {
  custom: {
    50: '#83aed7',
    500: '#408dc5',
    950: '#000000',
  },
}
SCSS
$custom: #408dc5;
$custom-light: #83aed7;
$custom-dark: #000000;
JSON
{
  "hex": "#408dc5",
  "rgb": {
    "r": 64,
    "g": 141,
    "b": 197
  },
  "hsl": {
    "h": 205.263,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.61985,
    "c": 0.11375,
    "h": 243.2
  },
  "luminance": 0.24171
}

Semantic roles & 50–950 ramp

primary
#408DC5
secondary
#CEAC93
accent
#884BDD
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C1014
muted
#7D7F83

Preview Lab

Preview with #408DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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