#408ED4#408ED4

#408ED4 is a light, vivid cyan. Relative luminance 0.252; OKLCH L 63.0% C 0.131 H 248.5°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#408ED4
RGBrgb(64, 142, 212)
HSLhsl(208, 63%, 54%)
HSVhsv(208, 70%, 83%)
CMYKcmyk(69.8%, 33%, 0%, 16.9%)
CIE-LABlab(57.26, -1.20, -42.86)
CIE-LCHlch(57.26, 42.88, 268.39°)
OKLaboklab(63.01% -0.0478 -0.1215)
OKLCHoklch(63.01% 0.131 248.5)
XYZxyz(23.6665, 25.1869, 65.8889)
Luminance0.2519 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408ED4 #D48640
analogous
#40D4D0 #408ED4 #4044D4
triadic
#408ED4 #D4408E #8ED440
tetradic
#408ED4 #D040D4 #D48640 #44D440
square
#408ED4 #D040D4 #D48640 #44D440
split-complementary
#408ED4 #D44044 #D4D040
monochromatic
#1C4F7D #276FAF #408ED4 #72ACDF #A4C9EA

Accessibility & contrast

On white

3.48
#408ED4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#408ED4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408ED4
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408ED4#FFFFFF#000000##000000
##408ED41.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F91D7
Deuteranopia (green-blind)
#5A83D3
Tritanopia (blue-blind)
#009FA7
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #408ed4;
/* rgb */ color: rgb(64, 142, 212);
/* oklch */ color: oklch(63.0% 0.131 248.5);
Tailwind
colors: {
  custom: {
    50: '#86aee1',
    500: '#408ed4',
    950: '#000000',
  },
}
SCSS
$custom: #408ed4;
$custom-light: #86aee1;
$custom-dark: #000000;
JSON
{
  "hex": "#408ed4",
  "rgb": {
    "r": 64,
    "g": 142,
    "b": 212
  },
  "hsl": {
    "h": 208.378,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.63007,
    "c": 0.13061,
    "h": 248.5
  },
  "luminance": 0.25189
}

Semantic roles & 50–950 ramp

primary
#408ED4
secondary
#D7B698
accent
#8F42E6
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C1015
muted
#7D7F83

Preview Lab

Preview with #408ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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