#408BCC#408BCC

#408BCC is a mid, vivid cyan. Relative luminance 0.239; OKLCH L 61.9% C 0.124 H 247.6°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#408BCC
RGBrgb(64, 139, 204)
HSLhsl(208, 58%, 53%)
HSVhsv(208, 69%, 80%)
CMYKcmyk(68.6%, 31.9%, 0%, 20%)
CIE-LABlab(56.00, -2.23, -40.34)
CIE-LCHlch(56.00, 40.40, 266.84°)
OKLaboklab(61.89% -0.0472 -0.1142)
OKLCHoklch(61.89% 0.124 247.6)
XYZxyz(22.2420, 23.9125, 60.5584)
Luminance0.2392 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408BCC #CC8140
analogous
#40CCC7 #408BCC #4045CC
triadic
#408BCC #CC408B #8BCC40
tetradic
#408BCC #C740CC #CC8140 #45CC40
square
#408BCC #C740CC #CC8140 #45CC40
split-complementary
#408BCC #CC4045 #CCC740
monochromatic
#1F4C73 #2C6CA3 #408BCC #70A8D9 #A1C6E6

Accessibility & contrast

On white

3.63
#408BCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##408BCC#FFFFFF#000000##000000
##408BCC1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8ECF
Deuteranopia (green-blind)
#5A80CB
Tritanopia (blue-blind)
#009AA2
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #408bcc;
/* rgb */ color: rgb(64, 139, 204);
/* oklch */ color: oklch(61.9% 0.124 247.6);
Tailwind
colors: {
  custom: {
    50: '#84acdc',
    500: '#408bcc',
    950: '#000000',
  },
}
SCSS
$custom: #408bcc;
$custom-light: #84acdc;
$custom-dark: #000000;
JSON
{
  "hex": "#408bcc",
  "rgb": {
    "r": 64,
    "g": 139,
    "b": 204
  },
  "hsl": {
    "h": 207.857,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.61891,
    "c": 0.12357,
    "h": 247.6
  },
  "luminance": 0.23915
}

Semantic roles & 50–950 ramp

primary
#408BCC
secondary
#D2B295
accent
#8E47E1
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C1015
muted
#7D7F83

Preview Lab

Preview with #408BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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