#408CA8#408CA8

#408CA8 is a mid, moderate cyan. Relative luminance 0.227; OKLCH L 60.4% C 0.086 H 225.2°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#408CA8
RGBrgb(64, 140, 168)
HSLhsl(196, 45%, 45%)
HSVhsv(196, 62%, 66%)
CMYKcmyk(61.9%, 16.7%, 0%, 34.1%)
CIE-LABlab(54.73, -14.81, -21.81)
CIE-LCHlch(54.73, 26.36, 235.81°)
OKLaboklab(60.37% -0.0604 -0.0608)
OKLCHoklch(60.37% 0.086 225.2)
XYZxyz(18.5575, 22.6715, 40.4362)
Luminance0.2267 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408CA8 #A85C40
analogous
#40A890 #408CA8 #4058A8
triadic
#408CA8 #A8408C #8CA840
tetradic
#408CA8 #9040A8 #A85C40 #58A840
square
#408CA8 #9040A8 #A85C40 #58A840
split-complementary
#408CA8 #A84058 #A89040
monochromatic
#1E424F #2F677C #408CA8 #62A9C3 #8EC1D4

Accessibility & contrast

On white

3.79
#408CA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##408CA8#FFFFFF#000000##000000
##408CA81.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #408ca8;
/* rgb */ color: rgb(64, 140, 168);
/* oklch */ color: oklch(60.4% 0.086 225.2);
Tailwind
colors: {
  custom: {
    50: '#7fadc2',
    500: '#408ca8',
    950: '#000000',
  },
}
SCSS
$custom: #408ca8;
$custom-light: #7fadc2;
$custom-dark: #000000;
JSON
{
  "hex": "#408ca8",
  "rgb": {
    "r": 64,
    "g": 140,
    "b": 168
  },
  "hsl": {
    "h": 196.154,
    "s": 44.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.6037,
    "c": 0.0857,
    "h": 225.2
  },
  "luminance": 0.22673
}

Semantic roles & 50–950 ramp

primary
#408CA8
secondary
#BF9485
accent
#7653D5
background
#F8FAFB
surface
#EFF4F7
border
#CACED0
text
#0B1012
muted
#7C7F81

Preview Lab

Preview with #408CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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