#408AB5#408AB5

#408AB5 is a mid, moderate cyan. Relative luminance 0.226; OKLCH L 60.5% C 0.098 H 237.0°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#408AB5
RGBrgb(64, 138, 181)
HSLhsl(202, 48%, 48%)
HSVhsv(202, 65%, 71%)
CMYKcmyk(64.6%, 23.8%, 0%, 29%)
CIE-LABlab(54.66, -9.47, -29.37)
CIE-LCHlch(54.66, 30.86, 252.13°)
OKLaboklab(60.49% -0.0535 -0.0824)
OKLCHoklch(60.49% 0.098 237)
XYZxyz(19.5401, 22.6011, 47.0398)
Luminance0.2260 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408AB5 #B56B40
analogous
#40B5A5 #408AB5 #4050B5
triadic
#408AB5 #B5408A #8AB540
tetradic
#408AB5 #A540B5 #B56B40 #50B540
square
#408AB5 #A540B5 #B56B40 #50B540
split-complementary
#408AB5 #B54050 #B5A540
monochromatic
#20455B #306888 #408AB5 #68A6CA #96C1DA

Accessibility & contrast

On white

3.80
#408AB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#408AB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408AB5
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408AB5#FFFFFF#000000##000000
##408AB51.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7689B7
Deuteranopia (green-blind)
#667EB4
Tritanopia (blue-blind)
#009599
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #408ab5;
/* rgb */ color: rgb(64, 138, 181);
/* oklch */ color: oklch(60.5% 0.098 237.0);
Tailwind
colors: {
  custom: {
    50: '#81accb',
    500: '#408ab5',
    950: '#000000',
  },
}
SCSS
$custom: #408ab5;
$custom-light: #81accb;
$custom-dark: #000000;
JSON
{
  "hex": "#408ab5",
  "rgb": {
    "r": 64,
    "g": 138,
    "b": 181
  },
  "hsl": {
    "h": 202.051,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.60487,
    "c": 0.09825,
    "h": 237
  },
  "luminance": 0.22603
}

Semantic roles & 50–950 ramp

primary
#408AB5
secondary
#C5A18B
accent
#8250D7
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #408AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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