#408CA5#408CA5

#408CA5 is a mid, moderate cyan. Relative luminance 0.226; OKLCH L 60.2% C 0.084 H 222.5°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#408CA5
RGBrgb(64, 140, 165)
HSLhsl(195, 44%, 45%)
HSVhsv(195, 61%, 65%)
CMYKcmyk(61.2%, 15.2%, 0%, 35.3%)
CIE-LABlab(54.62, -15.76, -20.26)
CIE-LCHlch(54.62, 25.67, 232.11°)
OKLaboklab(60.24% -0.0616 -0.0564)
OKLCHoklch(60.24% 0.084 222.5)
XYZxyz(18.2813, 22.5609, 38.9813)
Luminance0.2256 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408CA5 #A55940
analogous
#40A58B #408CA5 #405AA5
triadic
#408CA5 #A5408C #8CA540
tetradic
#408CA5 #8B40A5 #A55940 #5AA540
square
#408CA5 #8B40A5 #A55940 #5AA540
split-complementary
#408CA5 #A5405A #A58B40
monochromatic
#1E414D #2F6779 #408CA5 #61AAC2 #8DC1D3

Accessibility & contrast

On white

3.81
#408CA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#408CA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408CA5
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408CA5#FFFFFF#000000##000000
##408CA51.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D89A6
Deuteranopia (green-blind)
#6F7EA5
Tritanopia (blue-blind)
#009494
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #408ca5;
/* rgb */ color: rgb(64, 140, 165);
/* oklch */ color: oklch(60.2% 0.084 222.5);
Tailwind
colors: {
  custom: {
    50: '#7fadbf',
    500: '#408ca5',
    950: '#000000',
  },
}
SCSS
$custom: #408ca5;
$custom-light: #7fadbf;
$custom-dark: #000000;
JSON
{
  "hex": "#408ca5",
  "rgb": {
    "r": 64,
    "g": 140,
    "b": 165
  },
  "hsl": {
    "h": 194.851,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.6024,
    "c": 0.08351,
    "h": 222.5
  },
  "luminance": 0.22563
}

Semantic roles & 50–950 ramp

primary
#408CA5
secondary
#BE9283
accent
#7454D4
background
#F8FAFB
surface
#EFF4F7
border
#CACED0
text
#0B1012
muted
#7C7F81

Preview Lab

Preview with #408CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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