#408AA5#408AA5

#408AA5 is a mid, moderate cyan. Relative luminance 0.220; OKLCH L 59.8% C 0.084 H 224.8°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#408AA5
RGBrgb(64, 138, 165)
HSLhsl(196, 44%, 45%)
HSVhsv(196, 61%, 65%)
CMYKcmyk(61.2%, 16.4%, 0%, 35.3%)
CIE-LABlab(54.01, -14.67, -21.19)
CIE-LCHlch(54.01, 25.77, 235.31°)
OKLaboklab(59.75% -0.0594 -0.059)
OKLCHoklch(59.75% 0.084 224.8)
XYZxyz(17.9917, 21.9818, 38.8848)
Luminance0.2198 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408AA5 #A55B40
analogous
#40A58E #408AA5 #4057A5
triadic
#408AA5 #A5408A #8AA540
tetradic
#408AA5 #8E40A5 #A55B40 #57A540
square
#408AA5 #8E40A5 #A55B40 #57A540
split-complementary
#408AA5 #A54057 #A58E40
monochromatic
#1E404D #2F6579 #408AA5 #61A8C2 #8DC0D3

Accessibility & contrast

On white

3.89
#408AA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#408AA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408AA5
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408AA5#FFFFFF#000000##000000
##408AA51.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #408aa5;
/* rgb */ color: rgb(64, 138, 165);
/* oklch */ color: oklch(59.8% 0.084 224.8);
Tailwind
colors: {
  custom: {
    50: '#7facbf',
    500: '#408aa5',
    950: '#000000',
  },
}
SCSS
$custom: #408aa5;
$custom-light: #7facbf;
$custom-dark: #000000;
JSON
{
  "hex": "#408aa5",
  "rgb": {
    "r": 64,
    "g": 138,
    "b": 165
  },
  "hsl": {
    "h": 196.04,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.59753,
    "c": 0.08372,
    "h": 224.8
  },
  "luminance": 0.21984
}

Semantic roles & 50–950 ramp

primary
#408AA5
secondary
#BE9383
accent
#7654D4
background
#F8FAFB
surface
#EFF4F7
border
#CACED0
text
#0B1012
muted
#7C7F81

Preview Lab

Preview with #408AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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