#408AB4#408AB4

#408AB4 is a mid, moderate cyan. Relative luminance 0.226; OKLCH L 60.4% C 0.097 H 236.4°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#408AB4
RGBrgb(64, 138, 180)
HSLhsl(202, 48%, 48%)
HSVhsv(202, 64%, 71%)
CMYKcmyk(64.4%, 23.3%, 0%, 29.4%)
CIE-LABlab(54.62, -9.80, -28.86)
CIE-LCHlch(54.62, 30.48, 251.25°)
OKLaboklab(60.44% -0.0538 -0.081)
OKLCHoklch(60.44% 0.097 236.4)
XYZxyz(19.4379, 22.5603, 46.5013)
Luminance0.2256 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408AB4 #B46A40
analogous
#40B4A4 #408AB4 #4050B4
triadic
#408AB4 #B4408A #8AB440
tetradic
#408AB4 #A440B4 #B46A40 #50B440
square
#408AB4 #A440B4 #B46A40 #50B440
split-complementary
#408AB4 #B44050 #B4A440
monochromatic
#20455A #306787 #408AB4 #68A6C9 #95C1D9

Accessibility & contrast

On white

3.81
#408AB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#408AB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408AB4
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408AB4#FFFFFF#000000##000000
##408AB41.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7689B6
Deuteranopia (green-blind)
#667EB3
Tritanopia (blue-blind)
#009598
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #408ab4;
/* rgb */ color: rgb(64, 138, 180);
/* oklch */ color: oklch(60.4% 0.097 236.4);
Tailwind
colors: {
  custom: {
    50: '#81acca',
    500: '#408ab4',
    950: '#000000',
  },
}
SCSS
$custom: #408ab4;
$custom-light: #81acca;
$custom-dark: #000000;
JSON
{
  "hex": "#408ab4",
  "rgb": {
    "r": 64,
    "g": 138,
    "b": 180
  },
  "hsl": {
    "h": 201.724,
    "s": 47.541,
    "l": 47.843
  },
  "oklch": {
    "l": 0.60439,
    "c": 0.09723,
    "h": 236.4
  },
  "luminance": 0.22562
}

Semantic roles & 50–950 ramp

primary
#408AB4
secondary
#C5A08B
accent
#8151D7
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #408AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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