#408BA2#408BA2

#408BA2 is a mid, moderate cyan. Relative luminance 0.222; OKLCH L 59.9% C 0.082 H 220.8°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#408BA2
RGBrgb(64, 139, 162)
HSLhsl(194, 43%, 44%)
HSVhsv(194, 60%, 64%)
CMYKcmyk(60.5%, 14.2%, 0%, 36.5%)
CIE-LABlab(54.20, -16.16, -19.17)
CIE-LCHlch(54.20, 25.08, 229.87°)
OKLaboklab(59.87% -0.0617 -0.0533)
OKLCHoklch(59.87% 0.082 220.8)
XYZxyz(17.8660, 22.1621, 37.5116)
Luminance0.2216 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408BA2 #A25740
analogous
#40A288 #408BA2 #405AA2
triadic
#408BA2 #A2408B #8BA240
tetradic
#408BA2 #8840A2 #A25740 #5AA240
square
#408BA2 #8840A2 #A25740 #5AA240
split-complementary
#408BA2 #A2405A #A28840
monochromatic
#1D404A #2F6576 #408BA2 #5FA9C0 #8BC1D1

Accessibility & contrast

On white

3.87
#408BA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#408BA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408BA2
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408BA2#FFFFFF#000000##000000
##408BA21.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D88A3
Deuteranopia (green-blind)
#6F7DA2
Tritanopia (blue-blind)
#009392
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #408ba2;
/* rgb */ color: rgb(64, 139, 162);
/* oklch */ color: oklch(59.9% 0.082 220.8);
Tailwind
colors: {
  custom: {
    50: '#7eadbd',
    500: '#408ba2',
    950: '#000000',
  },
}
SCSS
$custom: #408ba2;
$custom-light: #7eadbd;
$custom-dark: #000000;
JSON
{
  "hex": "#408ba2",
  "rgb": {
    "r": 64,
    "g": 139,
    "b": 162
  },
  "hsl": {
    "h": 194.082,
    "s": 43.363,
    "l": 44.314
  },
  "oklch": {
    "l": 0.59868,
    "c": 0.08153,
    "h": 220.8
  },
  "luminance": 0.22164
}

Semantic roles & 50–950 ramp

primary
#408BA2
secondary
#BC8F82
accent
#7255D3
background
#F8FAFB
surface
#EFF4F6
border
#CACED0
text
#0B1012
muted
#7C7F81

Preview Lab

Preview with #408BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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