#408ED2#408ED2

#408ED2 is a light, vivid cyan. Relative luminance 0.251; OKLCH L 62.9% C 0.128 H 247.8°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#408ED2
RGBrgb(64, 142, 210)
HSLhsl(208, 62%, 54%)
HSVhsv(208, 70%, 82%)
CMYKcmyk(69.5%, 32.4%, 0%, 17.6%)
CIE-LABlab(57.16, -1.90, -41.89)
CIE-LCHlch(57.16, 41.93, 267.40°)
OKLaboklab(62.9% -0.0484 -0.1187)
OKLCHoklch(62.9% 0.128 247.8)
XYZxyz(23.4158, 25.0866, 64.5684)
Luminance0.2509 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408ED2 #D28440
analogous
#40D2CD #408ED2 #4045D2
triadic
#408ED2 #D2408E #8ED240
tetradic
#408ED2 #CD40D2 #D28440 #45D240
square
#408ED2 #CD40D2 #D28440 #45D240
split-complementary
#408ED2 #D24045 #D2CD40
monochromatic
#1D4F7B #296FAC #408ED2 #72ABDE #A3C9E9

Accessibility & contrast

On white

3.49
#408ED2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#408ED2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408ED2
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408ED2#FFFFFF#000000##000000
##408ED21.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7091D5
Deuteranopia (green-blind)
#5B83D1
Tritanopia (blue-blind)
#009EA6
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #408ed2;
/* rgb */ color: rgb(64, 142, 210);
/* oklch */ color: oklch(62.9% 0.128 247.8);
Tailwind
colors: {
  custom: {
    50: '#85aee0',
    500: '#408ed2',
    950: '#000000',
  },
}
SCSS
$custom: #408ed2;
$custom-light: #85aee0;
$custom-dark: #000000;
JSON
{
  "hex": "#408ed2",
  "rgb": {
    "r": 64,
    "g": 142,
    "b": 210
  },
  "hsl": {
    "h": 207.945,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.62899,
    "c": 0.12819,
    "h": 247.8
  },
  "luminance": 0.25089
}

Semantic roles & 50–950 ramp

primary
#408ED2
secondary
#D6B598
accent
#8E43E5
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C1015
muted
#7D7F83

Preview Lab

Preview with #408ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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