#408AA4#408AA4

#408AA4 is a mid, moderate cyan. Relative luminance 0.219; OKLCH L 59.7% C 0.083 H 223.9°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#408AA4
RGBrgb(64, 138, 164)
HSLhsl(196, 44%, 45%)
HSVhsv(196, 61%, 64%)
CMYKcmyk(61%, 15.9%, 0%, 35.7%)
CIE-LABlab(53.97, -14.99, -20.68)
CIE-LCHlch(53.97, 25.54, 234.06°)
OKLaboklab(59.71% -0.0598 -0.0576)
OKLCHoklch(59.71% 0.083 223.9)
XYZxyz(17.9010, 21.9455, 38.4073)
Luminance0.2195 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408AA4 #A45A40
analogous
#40A48C #408AA4 #4058A4
triadic
#408AA4 #A4408A #8AA440
tetradic
#408AA4 #8C40A4 #A45A40 #58A440
square
#408AA4 #8C40A4 #A45A40 #58A440
split-complementary
#408AA4 #A44058 #A48C40
monochromatic
#1E404C #2F6578 #408AA4 #60A8C1 #8CC0D2

Accessibility & contrast

On white

3.90
#408AA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#408AA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408AA4
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408AA4#FFFFFF#000000##000000
##408AA41.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B87A5
Deuteranopia (green-blind)
#6D7CA4
Tritanopia (blue-blind)
#009292
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #408aa4;
/* rgb */ color: rgb(64, 138, 164);
/* oklch */ color: oklch(59.7% 0.083 223.9);
Tailwind
colors: {
  custom: {
    50: '#7facbf',
    500: '#408aa4',
    950: '#000000',
  },
}
SCSS
$custom: #408aa4;
$custom-light: #7facbf;
$custom-dark: #000000;
JSON
{
  "hex": "#408aa4",
  "rgb": {
    "r": 64,
    "g": 138,
    "b": 164
  },
  "hsl": {
    "h": 195.6,
    "s": 43.86,
    "l": 44.706
  },
  "oklch": {
    "l": 0.59709,
    "c": 0.08298,
    "h": 223.9
  },
  "luminance": 0.21947
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #408AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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