#408CA4#408CA4

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

Color values

HEX#408CA4
RGBrgb(64, 140, 164)
HSLhsl(194, 44%, 45%)
HSVhsv(194, 61%, 64%)
CMYKcmyk(61%, 14.6%, 0%, 35.7%)
CIE-LABlab(54.58, -16.08, -19.74)
CIE-LCHlch(54.58, 25.46, 230.84°)
OKLaboklab(60.2% -0.062 -0.0549)
OKLCHoklch(60.2% 0.083 221.5)
XYZxyz(18.1906, 22.5247, 38.5038)
Luminance0.2253 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408CA4 #A45840
analogous
#40A48A #408CA4 #405AA4
triadic
#408CA4 #A4408C #8CA440
tetradic
#408CA4 #8A40A4 #A45840 #5AA440
square
#408CA4 #8A40A4 #A45840 #5AA440
split-complementary
#408CA4 #A4405A #A48A40
monochromatic
#1E414C #2F6678 #408CA4 #60AAC1 #8CC1D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##408CA4#FFFFFF#000000##000000
##408CA41.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)
#7E89A5
Deuteranopia (green-blind)
#6F7EA4
Tritanopia (blue-blind)
#009494
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #408ca4;
/* rgb */ color: rgb(64, 140, 164);
/* oklch */ color: oklch(60.2% 0.083 221.5);
Tailwind
colors: {
  custom: {
    50: '#7fadbf',
    500: '#408ca4',
    950: '#000000',
  },
}
SCSS
$custom: #408ca4;
$custom-light: #7fadbf;
$custom-dark: #000000;
JSON
{
  "hex": "#408ca4",
  "rgb": {
    "r": 64,
    "g": 140,
    "b": 164
  },
  "hsl": {
    "h": 194.4,
    "s": 43.86,
    "l": 44.706
  },
  "oklch": {
    "l": 0.60197,
    "c": 0.08283,
    "h": 221.5
  },
  "luminance": 0.22526
}

Semantic roles & 50–950 ramp

primary
#408CA4
secondary
#BD9183
accent
#7354D4
background
#F8FAFB
surface
#EFF4F7
border
#CACED0
text
#0B1012
muted
#7C7F81

Preview Lab

Preview with #408CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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