#408EA8#408EA8

#408EA8 is a mid, moderate cyan. Relative luminance 0.233; OKLCH L 60.9% C 0.085 H 222.9°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#408EA8
RGBrgb(64, 142, 168)
HSLhsl(195, 45%, 45%)
HSVhsv(195, 62%, 66%)
CMYKcmyk(61.9%, 15.5%, 0%, 34.1%)
CIE-LABlab(55.34, -15.91, -20.87)
CIE-LCHlch(55.34, 26.24, 232.69°)
OKLaboklab(60.86% -0.0626 -0.0581)
OKLCHoklch(60.86% 0.085 222.9)
XYZxyz(18.8524, 23.2612, 40.5345)
Luminance0.2326 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408EA8 #A85A40
analogous
#40A88E #408EA8 #405AA8
triadic
#408EA8 #A8408E #8EA840
tetradic
#408EA8 #8E40A8 #A85A40 #5AA840
square
#408EA8 #8E40A8 #A85A40 #5AA840
split-complementary
#408EA8 #A8405A #A88E40
monochromatic
#1E434F #2F697C #408EA8 #62ABC3 #8EC3D4

Accessibility & contrast

On white

3.72
#408EA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#408EA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408EA8
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408EA8#FFFFFF#000000##000000
##408EA81.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8BA9
Deuteranopia (green-blind)
#7080A8
Tritanopia (blue-blind)
#009696
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #408ea8;
/* rgb */ color: rgb(64, 142, 168);
/* oklch */ color: oklch(60.9% 0.085 222.9);
Tailwind
colors: {
  custom: {
    50: '#7fafc2',
    500: '#408ea8',
    950: '#000000',
  },
}
SCSS
$custom: #408ea8;
$custom-light: #7fafc2;
$custom-dark: #000000;
JSON
{
  "hex": "#408ea8",
  "rgb": {
    "r": 64,
    "g": 142,
    "b": 168
  },
  "hsl": {
    "h": 195,
    "s": 44.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.60856,
    "c": 0.08545,
    "h": 222.9
  },
  "luminance": 0.23263
}

Semantic roles & 50–950 ramp

primary
#408EA8
secondary
#BF9385
accent
#7453D5
background
#F8FAFB
surface
#EFF4F7
border
#CACED0
text
#0B1012
muted
#7C7F81

Preview Lab

Preview with #408EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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