#408ACC#408ACC

#408ACC is a mid, vivid cyan. Relative luminance 0.236; OKLCH L 61.7% C 0.124 H 248.2°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#408ACC
RGBrgb(64, 138, 204)
HSLhsl(208, 58%, 53%)
HSVhsv(208, 69%, 80%)
CMYKcmyk(68.6%, 32.4%, 0%, 20%)
CIE-LABlab(55.71, -1.64, -40.80)
CIE-LCHlch(55.71, 40.83, 267.69°)
OKLaboklab(61.66% -0.0462 -0.1156)
OKLCHoklch(61.66% 0.124 248.2)
XYZxyz(22.0978, 23.6242, 60.5104)
Luminance0.2363 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408ACC #CC8240
analogous
#40CCC8 #408ACC #4044CC
triadic
#408ACC #CC408A #8ACC40
tetradic
#408ACC #C840CC #CC8240 #44CC40
square
#408ACC #C840CC #CC8240 #44CC40
split-complementary
#408ACC #CC4044 #CCC840
monochromatic
#1F4B73 #2C6BA3 #408ACC #70A8D9 #A1C5E6

Accessibility & contrast

On white

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

On black

5.73
#408ACC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408ACC
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408ACC#FFFFFF#000000##000000
##408ACC1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8DCF
Deuteranopia (green-blind)
#597FCB
Tritanopia (blue-blind)
#009AA2
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #408acc;
/* rgb */ color: rgb(64, 138, 204);
/* oklch */ color: oklch(61.7% 0.124 248.2);
Tailwind
colors: {
  custom: {
    50: '#84abdc',
    500: '#408acc',
    950: '#000000',
  },
}
SCSS
$custom: #408acc;
$custom-light: #84abdc;
$custom-dark: #000000;
JSON
{
  "hex": "#408acc",
  "rgb": {
    "r": 64,
    "g": 138,
    "b": 204
  },
  "hsl": {
    "h": 208.286,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.61662,
    "c": 0.12445,
    "h": 248.2
  },
  "luminance": 0.23627
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #408ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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