#408EE2#408EE2

#408EE2 is a light, vivid cyan. Relative luminance 0.259; OKLCH L 63.8% C 0.148 H 252.6°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#408EE2
RGBrgb(64, 142, 226)
HSLhsl(211, 74%, 57%)
HSVhsv(211, 72%, 89%)
CMYKcmyk(71.7%, 37.2%, 0%, 11.4%)
CIE-LABlab(57.97, 3.71, -49.57)
CIE-LCHlch(57.97, 49.71, 274.28°)
OKLaboklab(63.79% -0.0442 -0.1411)
OKLCHoklch(63.79% 0.148 252.6)
XYZxyz(25.5097, 25.9242, 75.5962)
Luminance0.2593 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408EE2 #E29440
analogous
#40DFE2 #408EE2 #4340E2
triadic
#408EE2 #E2408E #8EE240
tetradic
#408EE2 #E240DF #E29440 #40E243
square
#408EE2 #E240DF #E29440 #40E243
split-complementary
#408EE2 #E24340 #DFE240
monochromatic
#165292 #1E6FC7 #408EE2 #75ADEA #AACDF2

Accessibility & contrast

On white

3.40
#408EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#408EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408EE2
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408EE2#FFFFFF#000000##000000
##408EE21.003.406.196.19
#FFFFFF3.401.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6794E5
Deuteranopia (green-blind)
#4F84E0
Tritanopia (blue-blind)
#00A2AD
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #408ee2;
/* rgb */ color: rgb(64, 142, 226);
/* oklch */ color: oklch(63.8% 0.148 252.6);
Tailwind
colors: {
  custom: {
    50: '#88aeeb',
    500: '#408ee2',
    950: '#000000',
  },
}
SCSS
$custom: #408ee2;
$custom-light: #88aeeb;
$custom-dark: #000000;
JSON
{
  "hex": "#408ee2",
  "rgb": {
    "r": 64,
    "g": 142,
    "b": 226
  },
  "hsl": {
    "h": 211.111,
    "s": 73.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63793,
    "c": 0.1479,
    "h": 252.6
  },
  "luminance": 0.25927
}

Semantic roles & 50–950 ramp

primary
#408EE2
secondary
#E0C09E
accent
#9738F0
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D1016
muted
#7E7F84

Preview Lab

Preview with #408EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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