#408CC5#408CC5

#408CC5 is a mid, moderate cyan. Relative luminance 0.239; OKLCH L 61.8% C 0.114 H 243.9°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#408CC5
RGBrgb(64, 140, 197)
HSLhsl(206, 53%, 51%)
HSVhsv(206, 68%, 77%)
CMYKcmyk(67.5%, 28.9%, 0%, 22.7%)
CIE-LABlab(55.96, -5.22, -36.44)
CIE-LCHlch(55.96, 36.81, 261.85°)
OKLaboklab(61.75% -0.0503 -0.1029)
OKLCHoklch(61.75% 0.114 243.9)
XYZxyz(21.5667, 23.8751, 56.2843)
Luminance0.2388 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408CC5 #C57940
analogous
#40C5BB #408CC5 #4049C5
triadic
#408CC5 #C5408C #8CC540
tetradic
#408CC5 #BB40C5 #C57940 #49C540
square
#408CC5 #BB40C5 #C57940 #49C540
split-complementary
#408CC5 #C54049 #C5BB40
monochromatic
#204B6A #2F6C99 #408CC5 #6FA8D3 #9EC5E2

Accessibility & contrast

On white

3.64
#408CC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#408CC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408CC5
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408CC5#FFFFFF#000000##000000
##408CC51.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#728DC8
Deuteranopia (green-blind)
#6080C4
Tritanopia (blue-blind)
#009AA0
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #408cc5;
/* rgb */ color: rgb(64, 140, 197);
/* oklch */ color: oklch(61.8% 0.114 243.9);
Tailwind
colors: {
  custom: {
    50: '#83add7',
    500: '#408cc5',
    950: '#000000',
  },
}
SCSS
$custom: #408cc5;
$custom-light: #83add7;
$custom-dark: #000000;
JSON
{
  "hex": "#408cc5",
  "rgb": {
    "r": 64,
    "g": 140,
    "b": 197
  },
  "hsl": {
    "h": 205.714,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.61753,
    "c": 0.11449,
    "h": 243.9
  },
  "luminance": 0.23877
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #408CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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