#408AC5#408AC5

#408AC5 is a mid, moderate cyan. Relative luminance 0.233; OKLCH L 61.3% C 0.116 H 245.4°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#408AC5
RGBrgb(64, 138, 197)
HSLhsl(207, 53%, 51%)
HSVhsv(207, 68%, 77%)
CMYKcmyk(67.5%, 29.9%, 0%, 22.7%)
CIE-LABlab(55.38, -4.06, -37.36)
CIE-LCHlch(55.38, 37.58, 263.80°)
OKLaboklab(61.29% -0.0482 -0.1055)
OKLCHoklch(61.29% 0.116 245.4)
XYZxyz(21.2771, 23.2959, 56.1877)
Luminance0.2330 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408AC5 #C57B40
analogous
#40C5BE #408AC5 #4047C5
triadic
#408AC5 #C5408A #8AC540
tetradic
#408AC5 #BE40C5 #C57B40 #47C540
square
#408AC5 #BE40C5 #C57B40 #47C540
split-complementary
#408AC5 #C54047 #C5BE40
monochromatic
#20496A #2F6A99 #408AC5 #6FA7D3 #9EC4E2

Accessibility & contrast

On white

3.71
#408AC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#408AC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408AC5
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408AC5#FFFFFF#000000##000000
##408AC51.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#708CC8
Deuteranopia (green-blind)
#5D7FC4
Tritanopia (blue-blind)
#00989F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #408ac5;
/* rgb */ color: rgb(64, 138, 197);
/* oklch */ color: oklch(61.3% 0.116 245.4);
Tailwind
colors: {
  custom: {
    50: '#83abd7',
    500: '#408ac5',
    950: '#000000',
  },
}
SCSS
$custom: #408ac5;
$custom-light: #83abd7;
$custom-dark: #000000;
JSON
{
  "hex": "#408ac5",
  "rgb": {
    "r": 64,
    "g": 138,
    "b": 197
  },
  "hsl": {
    "h": 206.617,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.6129,
    "c": 0.11606,
    "h": 245.4
  },
  "luminance": 0.23298
}

Semantic roles & 50–950 ramp

primary
#408AC5
secondary
#CEAD93
accent
#8C4BDD
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C1014
muted
#7D7F83

Preview Lab

Preview with #408AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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