#408DAB#408DAB

#408DAB is a mid, moderate cyan. Relative luminance 0.231; OKLCH L 60.7% C 0.088 H 226.6°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#408DAB
RGBrgb(64, 141, 171)
HSLhsl(197, 46%, 46%)
HSVhsv(197, 63%, 67%)
CMYKcmyk(62.6%, 17.5%, 0%, 32.9%)
CIE-LABlab(55.15, -14.41, -22.88)
CIE-LCHlch(55.15, 27.04, 237.81°)
OKLaboklab(60.75% -0.0604 -0.0638)
OKLCHoklch(60.75% 0.088 226.6)
XYZxyz(18.9870, 23.0781, 41.9741)
Luminance0.2308 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408DAB #AB5E40
analogous
#40AB93 #408DAB #4057AB
triadic
#408DAB #AB408D #8DAB40
tetradic
#408DAB #9340AB #AB5E40 #57AB40
square
#408DAB #9340AB #AB5E40 #57AB40
split-complementary
#408DAB #AB4057 #AB9340
monochromatic
#1F4452 #2F687E #408DAB #63A9C5 #90C2D5

Accessibility & contrast

On white

3.74
#408DAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#408DAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408DAB
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408DAB#FFFFFF#000000##000000
##408DAB1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D8AAD
Deuteranopia (green-blind)
#6E7FAB
Tritanopia (blue-blind)
#009697
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #408dab;
/* rgb */ color: rgb(64, 141, 171);
/* oklch */ color: oklch(60.7% 0.088 226.6);
Tailwind
colors: {
  custom: {
    50: '#80aec4',
    500: '#408dab',
    950: '#000000',
  },
}
SCSS
$custom: #408dab;
$custom-light: #80aec4;
$custom-dark: #000000;
JSON
{
  "hex": "#408dab",
  "rgb": {
    "r": 64,
    "g": 141,
    "b": 171
  },
  "hsl": {
    "h": 196.822,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.60745,
    "c": 0.08786,
    "h": 226.6
  },
  "luminance": 0.2308
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #408DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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