#408BC5#408BC5

#408BC5 is a mid, moderate cyan. Relative luminance 0.236; OKLCH L 61.5% C 0.115 H 244.7°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#408BC5
RGBrgb(64, 139, 197)
HSLhsl(206, 53%, 51%)
HSVhsv(206, 68%, 77%)
CMYKcmyk(67.5%, 29.4%, 0%, 22.7%)
CIE-LABlab(55.67, -4.64, -36.90)
CIE-LCHlch(55.67, 37.19, 262.83°)
OKLaboklab(61.52% -0.0493 -0.1042)
OKLCHoklch(61.52% 0.115 244.7)
XYZxyz(21.4212, 23.5842, 56.2358)
Luminance0.2359 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408BC5 #C57A40
analogous
#40C5BC #408BC5 #4048C5
triadic
#408BC5 #C5408B #8BC540
tetradic
#408BC5 #BC40C5 #C57A40 #48C540
square
#408BC5 #BC40C5 #C57A40 #48C540
split-complementary
#408BC5 #C54048 #C5BC40
monochromatic
#204A6A #2F6B99 #408BC5 #6FA8D3 #9EC4E2

Accessibility & contrast

On white

3.67
#408BC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#408BC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408BC5
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408BC5#FFFFFF#000000##000000
##408BC51.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#718CC8
Deuteranopia (green-blind)
#5F80C4
Tritanopia (blue-blind)
#00999F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #408bc5;
/* rgb */ color: rgb(64, 139, 197);
/* oklch */ color: oklch(61.5% 0.115 244.7);
Tailwind
colors: {
  custom: {
    50: '#83acd7',
    500: '#408bc5',
    950: '#000000',
  },
}
SCSS
$custom: #408bc5;
$custom-light: #83acd7;
$custom-dark: #000000;
JSON
{
  "hex": "#408bc5",
  "rgb": {
    "r": 64,
    "g": 139,
    "b": 197
  },
  "hsl": {
    "h": 206.165,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.61521,
    "c": 0.11526,
    "h": 244.7
  },
  "luminance": 0.23586
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #408BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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