#408CA7#408CA7

#408CA7 is a mid, moderate cyan. Relative luminance 0.226; OKLCH L 60.3% C 0.085 H 224.3°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#408CA7
RGBrgb(64, 140, 167)
HSLhsl(196, 45%, 45%)
HSVhsv(196, 62%, 65%)
CMYKcmyk(61.7%, 16.2%, 0%, 34.5%)
CIE-LABlab(54.69, -15.13, -21.29)
CIE-LCHlch(54.69, 26.12, 234.60°)
OKLaboklab(60.33% -0.0608 -0.0593)
OKLCHoklch(60.33% 0.085 224.3)
XYZxyz(18.4647, 22.6343, 39.9475)
Luminance0.2264 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408CA7 #A75B40
analogous
#40A78E #408CA7 #4058A7
triadic
#408CA7 #A7408C #8CA740
tetradic
#408CA7 #8E40A7 #A75B40 #58A740
square
#408CA7 #8E40A7 #A75B40 #58A740
split-complementary
#408CA7 #A74058 #A78E40
monochromatic
#1E424F #2F677B #408CA7 #62A9C3 #8EC1D4

Accessibility & contrast

On white

3.80
#408CA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#408CA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408CA7
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408CA7#FFFFFF#000000##000000
##408CA71.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D89A8
Deuteranopia (green-blind)
#6E7EA7
Tritanopia (blue-blind)
#009495
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #408ca7;
/* rgb */ color: rgb(64, 140, 167);
/* oklch */ color: oklch(60.3% 0.085 224.3);
Tailwind
colors: {
  custom: {
    50: '#7fadc1',
    500: '#408ca7',
    950: '#000000',
  },
}
SCSS
$custom: #408ca7;
$custom-light: #7fadc1;
$custom-dark: #000000;
JSON
{
  "hex": "#408ca7",
  "rgb": {
    "r": 64,
    "g": 140,
    "b": 167
  },
  "hsl": {
    "h": 195.728,
    "s": 44.589,
    "l": 45.294
  },
  "oklch": {
    "l": 0.60327,
    "c": 0.08495,
    "h": 224.3
  },
  "luminance": 0.22636
}

Semantic roles & 50–950 ramp

primary
#408CA7
secondary
#BF9484
accent
#7554D4
background
#F8FAFB
surface
#EFF4F7
border
#CACED0
text
#0B1012
muted
#7C7F81

Preview Lab

Preview with #408CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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