#408DB8#408DB8

#408DB8 is a mid, moderate cyan. Relative luminance 0.236; OKLCH L 61.3% C 0.100 H 236.1°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#408DB8
RGBrgb(64, 141, 184)
HSLhsl(202, 48%, 49%)
HSVhsv(202, 65%, 72%)
CMYKcmyk(65.2%, 23.4%, 0%, 27.8%)
CIE-LABlab(55.68, -10.17, -29.49)
CIE-LCHlch(55.68, 31.19, 250.98°)
OKLaboklab(61.34% -0.0556 -0.0828)
OKLCHoklch(61.34% 0.1 236.1)
XYZxyz(20.2876, 23.5983, 48.8239)
Luminance0.2360 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408DB8 #B86B40
analogous
#40B8A7 #408DB8 #4051B8
triadic
#408DB8 #B8408D #8DB840
tetradic
#408DB8 #A740B8 #B86B40 #51B840
square
#408DB8 #A740B8 #B86B40 #51B840
split-complementary
#408DB8 #B84051 #B8A740
monochromatic
#20475D #306A8B #408DB8 #6AA8CB #97C3DB

Accessibility & contrast

On white

3.67
#408DB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#408DB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408DB8
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408DB8#FFFFFF#000000##000000
##408DB81.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#798CBA
Deuteranopia (green-blind)
#6880B7
Tritanopia (blue-blind)
#00989B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #408db8;
/* rgb */ color: rgb(64, 141, 184);
/* oklch */ color: oklch(61.3% 0.100 236.1);
Tailwind
colors: {
  custom: {
    50: '#81aecd',
    500: '#408db8',
    950: '#000000',
  },
}
SCSS
$custom: #408db8;
$custom-light: #81aecd;
$custom-dark: #000000;
JSON
{
  "hex": "#408db8",
  "rgb": {
    "r": 64,
    "g": 141,
    "b": 184
  },
  "hsl": {
    "h": 201.5,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.61343,
    "c": 0.09971,
    "h": 236.1
  },
  "luminance": 0.236
}

Semantic roles & 50–950 ramp

primary
#408DB8
secondary
#C7A28D
accent
#8150D8
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #408DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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