#408CE2#408CE2

#408CE2 is a light, vivid cyan. Relative luminance 0.253; OKLCH L 63.4% C 0.150 H 253.6°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#408CE2
RGBrgb(64, 140, 226)
HSLhsl(212, 74%, 57%)
HSVhsv(212, 72%, 89%)
CMYKcmyk(71.7%, 38.1%, 0%, 11.4%)
CIE-LABlab(57.40, 4.90, -50.47)
CIE-LCHlch(57.40, 50.71, 275.54°)
OKLaboklab(63.35% -0.0424 -0.1438)
OKLCHoklch(63.35% 0.15 253.6)
XYZxyz(25.2148, 25.3344, 75.4979)
Luminance0.2534 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408CE2 #E29640
analogous
#40DDE2 #408CE2 #4540E2
triadic
#408CE2 #E2408C #8CE240
tetradic
#408CE2 #E240DD #E29640 #40E245
square
#408CE2 #E240DD #E29640 #40E245
split-complementary
#408CE2 #E24540 #DDE240
monochromatic
#165092 #1E6DC7 #408CE2 #75ACEA #AACCF2

Accessibility & contrast

On white

3.46
#408CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#408CE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408CE2
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408CE2#FFFFFF#000000##000000
##408CE21.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6492E5
Deuteranopia (green-blind)
#4B83E0
Tritanopia (blue-blind)
#00A0AC
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #408ce2;
/* rgb */ color: rgb(64, 140, 226);
/* oklch */ color: oklch(63.4% 0.150 253.6);
Tailwind
colors: {
  custom: {
    50: '#88adeb',
    500: '#408ce2',
    950: '#000000',
  },
}
SCSS
$custom: #408ce2;
$custom-light: #88adeb;
$custom-dark: #000000;
JSON
{
  "hex": "#408ce2",
  "rgb": {
    "r": 64,
    "g": 140,
    "b": 226
  },
  "hsl": {
    "h": 211.852,
    "s": 73.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63352,
    "c": 0.14992,
    "h": 253.6
  },
  "luminance": 0.25337
}

Semantic roles & 50–950 ramp

primary
#408CE2
secondary
#E0C19E
accent
#9A38F0
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D1016
muted
#7E7F84

Preview Lab

Preview with #408CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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