#408EA4#408EA4

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

Color values

HEX#408EA4
RGBrgb(64, 142, 164)
HSLhsl(193, 44%, 45%)
HSVhsv(193, 61%, 64%)
CMYKcmyk(61%, 13.4%, 0%, 35.7%)
CIE-LABlab(55.19, -17.16, -18.81)
CIE-LCHlch(55.19, 25.46, 227.62°)
OKLaboklab(60.69% -0.0642 -0.0523)
OKLCHoklch(60.69% 0.083 219.1)
XYZxyz(18.4855, 23.1145, 38.6021)
Luminance0.2312 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408EA4 #A45640
analogous
#40A488 #408EA4 #405CA4
triadic
#408EA4 #A4408E #8EA440
tetradic
#408EA4 #8840A4 #A45640 #5CA440
square
#408EA4 #8840A4 #A45640 #5CA440
split-complementary
#408EA4 #A4405C #A48840
monochromatic
#1E424C #2F6878 #408EA4 #60ACC1 #8CC3D2

Accessibility & contrast

On white

3.73
#408EA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##408EA4#FFFFFF#000000##000000
##408EA41.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#808AA5
Deuteranopia (green-blind)
#727FA4
Tritanopia (blue-blind)
#009595
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #408ea4;
/* rgb */ color: rgb(64, 142, 164);
/* oklch */ color: oklch(60.7% 0.083 219.1);
Tailwind
colors: {
  custom: {
    50: '#7fafbf',
    500: '#408ea4',
    950: '#000000',
  },
}
SCSS
$custom: #408ea4;
$custom-light: #7fafbf;
$custom-dark: #000000;
JSON
{
  "hex": "#408ea4",
  "rgb": {
    "r": 64,
    "g": 142,
    "b": 164
  },
  "hsl": {
    "h": 193.2,
    "s": 43.86,
    "l": 44.706
  },
  "oklch": {
    "l": 0.60686,
    "c": 0.08282,
    "h": 219.1
  },
  "luminance": 0.23116
}

Semantic roles & 50–950 ramp

primary
#408EA4
secondary
#BD9083
accent
#7054D4
background
#F8FAFB
surface
#EFF4F7
border
#CACED0
text
#0B1012
muted
#7C7F81

Preview Lab

Preview with #408EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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