#408AA7#408AA7

#408AA7 is a mid, moderate cyan. Relative luminance 0.221; OKLCH L 59.8% C 0.085 H 226.6°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#408AA7
RGBrgb(64, 138, 167)
HSLhsl(197, 45%, 45%)
HSVhsv(197, 62%, 65%)
CMYKcmyk(61.7%, 17.4%, 0%, 34.5%)
CIE-LABlab(54.09, -14.03, -22.22)
CIE-LCHlch(54.09, 26.28, 237.73°)
OKLaboklab(59.84% -0.0586 -0.062)
OKLCHoklch(59.84% 0.085 226.6)
XYZxyz(18.1751, 22.0552, 39.8510)
Luminance0.2206 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408AA7 #A75D40
analogous
#40A790 #408AA7 #4056A7
triadic
#408AA7 #A7408A #8AA740
tetradic
#408AA7 #9040A7 #A75D40 #56A740
square
#408AA7 #9040A7 #A75D40 #56A740
split-complementary
#408AA7 #A74056 #A79040
monochromatic
#1E414F #2F657B #408AA7 #62A7C3 #8EC0D4

Accessibility & contrast

On white

3.88
#408AA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#408AA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408AA7
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408AA7#FFFFFF#000000##000000
##408AA71.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A87A8
Deuteranopia (green-blind)
#6C7DA7
Tritanopia (blue-blind)
#009293
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #408aa7;
/* rgb */ color: rgb(64, 138, 167);
/* oklch */ color: oklch(59.8% 0.085 226.6);
Tailwind
colors: {
  custom: {
    50: '#7facc1',
    500: '#408aa7',
    950: '#000000',
  },
}
SCSS
$custom: #408aa7;
$custom-light: #7facc1;
$custom-dark: #000000;
JSON
{
  "hex": "#408aa7",
  "rgb": {
    "r": 64,
    "g": 138,
    "b": 167
  },
  "hsl": {
    "h": 196.893,
    "s": 44.589,
    "l": 45.294
  },
  "oklch": {
    "l": 0.59841,
    "c": 0.08529,
    "h": 226.6
  },
  "luminance": 0.22057
}

Semantic roles & 50–950 ramp

primary
#408AA7
secondary
#BF9584
accent
#7854D4
background
#F8FAFB
surface
#EFF4F7
border
#CACED0
text
#0B1012
muted
#7C7F81

Preview Lab

Preview with #408AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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