#408ED8#408ED8

#408ED8 is a light, vivid cyan. Relative luminance 0.254; OKLCH L 63.2% C 0.135 H 249.8°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#408ED8
RGBrgb(64, 142, 216)
HSLhsl(209, 66%, 55%)
HSVhsv(209, 70%, 85%)
CMYKcmyk(70.4%, 34.3%, 0%, 15.3%)
CIE-LABlab(57.45, 0.19, -44.79)
CIE-LCHlch(57.45, 44.79, 270.25°)
OKLaboklab(63.23% -0.0467 -0.1272)
OKLCHoklch(63.23% 0.135 249.8)
XYZxyz(24.1774, 25.3912, 68.5792)
Luminance0.2539 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408ED8 #D88A40
analogous
#40D8D6 #408ED8 #4042D8
triadic
#408ED8 #D8408E #8ED840
tetradic
#408ED8 #D640D8 #D88A40 #42D840
square
#408ED8 #D640D8 #D88A40 #42D840
split-complementary
#408ED8 #D84042 #D8D640
monochromatic
#1B5083 #256FB6 #408ED8 #73ACE2 #A6CAED

Accessibility & contrast

On white

3.45
#408ED8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#408ED8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408ED8
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408ED8#FFFFFF#000000##000000
##408ED81.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D92DB
Deuteranopia (green-blind)
#5783D7
Tritanopia (blue-blind)
#00A0A9
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #408ed8;
/* rgb */ color: rgb(64, 142, 216);
/* oklch */ color: oklch(63.2% 0.135 249.8);
Tailwind
colors: {
  custom: {
    50: '#86aee4',
    500: '#408ed8',
    950: '#000000',
  },
}
SCSS
$custom: #408ed8;
$custom-light: #86aee4;
$custom-dark: #000000;
JSON
{
  "hex": "#408ed8",
  "rgb": {
    "r": 64,
    "g": 142,
    "b": 216
  },
  "hsl": {
    "h": 209.211,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.63227,
    "c": 0.13549,
    "h": 249.8
  },
  "luminance": 0.25394
}

Semantic roles & 50–950 ramp

primary
#408ED8
secondary
#DAB99A
accent
#923FE9
background
#F8FAFE
surface
#F0F4FC
border
#CBCED5
text
#0D1015
muted
#7D7F84

Preview Lab

Preview with #408ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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