#408CA2#408CA2

#408CA2 is a mid, moderate cyan. Relative luminance 0.225; OKLCH L 60.1% C 0.082 H 219.6°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#408CA2
RGBrgb(64, 140, 162)
HSLhsl(193, 43%, 44%)
HSVhsv(193, 60%, 64%)
CMYKcmyk(60.5%, 13.6%, 0%, 36.5%)
CIE-LABlab(54.50, -16.71, -18.71)
CIE-LCHlch(54.50, 25.08, 228.23°)
OKLaboklab(60.11% -0.0628 -0.052)
OKLCHoklch(60.11% 0.082 219.6)
XYZxyz(18.0114, 22.4530, 37.5601)
Luminance0.2245 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408CA2 #A25640
analogous
#40A287 #408CA2 #405BA2
triadic
#408CA2 #A2408C #8CA240
tetradic
#408CA2 #8740A2 #A25640 #5BA240
square
#408CA2 #8740A2 #A25640 #5BA240
split-complementary
#408CA2 #A2405B #A28740
monochromatic
#1D404A #2F6676 #408CA2 #5FAAC0 #8BC2D1

Accessibility & contrast

On white

3.82
#408CA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#408CA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408CA2
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408CA2#FFFFFF#000000##000000
##408CA21.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E88A3
Deuteranopia (green-blind)
#707EA2
Tritanopia (blue-blind)
#009393
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #408ca2;
/* rgb */ color: rgb(64, 140, 162);
/* oklch */ color: oklch(60.1% 0.082 219.6);
Tailwind
colors: {
  custom: {
    50: '#7eadbd',
    500: '#408ca2',
    950: '#000000',
  },
}
SCSS
$custom: #408ca2;
$custom-light: #7eadbd;
$custom-dark: #000000;
JSON
{
  "hex": "#408ca2",
  "rgb": {
    "r": 64,
    "g": 140,
    "b": 162
  },
  "hsl": {
    "h": 193.469,
    "s": 43.363,
    "l": 44.314
  },
  "oklch": {
    "l": 0.60112,
    "c": 0.08153,
    "h": 219.6
  },
  "luminance": 0.22455
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #408CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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