#408CAB#408CAB

#408CAB is a mid, moderate cyan. Relative luminance 0.228; OKLCH L 60.5% C 0.088 H 227.7°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#408CAB
RGBrgb(64, 140, 171)
HSLhsl(197, 46%, 46%)
HSVhsv(197, 63%, 67%)
CMYKcmyk(62.6%, 18.1%, 0%, 32.9%)
CIE-LABlab(54.85, -13.85, -23.35)
CIE-LCHlch(54.85, 27.15, 239.31°)
OKLaboklab(60.5% -0.0593 -0.0652)
OKLCHoklch(60.5% 0.088 227.7)
XYZxyz(18.8402, 22.7845, 41.9251)
Luminance0.2279 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408CAB #AB5F40
analogous
#40AB94 #408CAB #4056AB
triadic
#408CAB #AB408C #8CAB40
tetradic
#408CAB #9440AB #AB5F40 #56AB40
square
#408CAB #9440AB #AB5F40 #56AB40
split-complementary
#408CAB #AB4056 #AB9440
monochromatic
#1F4352 #2F687E #408CAB #63A9C5 #90C1D5

Accessibility & contrast

On white

3.78
#408CAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#408CAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408CAB
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408CAB#FFFFFF#000000##000000
##408CAB1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8AAD
Deuteranopia (green-blind)
#6D7EAB
Tritanopia (blue-blind)
#009596
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #408cab;
/* rgb */ color: rgb(64, 140, 171);
/* oklch */ color: oklch(60.5% 0.088 227.7);
Tailwind
colors: {
  custom: {
    50: '#80adc4',
    500: '#408cab',
    950: '#000000',
  },
}
SCSS
$custom: #408cab;
$custom-light: #80adc4;
$custom-dark: #000000;
JSON
{
  "hex": "#408cab",
  "rgb": {
    "r": 64,
    "g": 140,
    "b": 171
  },
  "hsl": {
    "h": 197.383,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.60503,
    "c": 0.08809,
    "h": 227.7
  },
  "luminance": 0.22786
}

Semantic roles & 50–950 ramp

primary
#408CAB
secondary
#C19786
accent
#7853D5
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1012
muted
#7C7F81

Preview Lab

Preview with #408CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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