#408AE3#408AE3

#408AE3 is a light, vivid cyan. Relative luminance 0.248; OKLCH L 63.0% C 0.153 H 254.7°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#408AE3
RGBrgb(64, 138, 227)
HSLhsl(213, 74%, 57%)
HSVhsv(213, 72%, 89%)
CMYKcmyk(71.8%, 39.2%, 0%, 11%)
CIE-LABlab(56.89, 6.45, -51.84)
CIE-LCHlch(56.89, 52.24, 277.09°)
OKLaboklab(62.97% -0.0403 -0.1479)
OKLCHoklch(62.97% 0.153 254.7)
XYZxyz(25.0628, 24.8102, 76.1261)
Luminance0.2481 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408AE3 #E39940
analogous
#40DBE3 #408AE3 #4840E3
triadic
#408AE3 #E3408A #8AE340
tetradic
#408AE3 #E340DB #E39940 #40E348
square
#408AE3 #E340DB #E39940 #40E348
split-complementary
#408AE3 #E34840 #DBE340
monochromatic
#164F93 #1D6BC8 #408AE3 #75ABEB #ABCBF3

Accessibility & contrast

On white

3.52
#408AE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#408AE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408AE3
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408AE3#FFFFFF#000000##000000
##408AE31.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6091E7
Deuteranopia (green-blind)
#4782E1
Tritanopia (blue-blind)
#009FAB
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #408ae3;
/* rgb */ color: rgb(64, 138, 227);
/* oklch */ color: oklch(63.0% 0.153 254.7);
Tailwind
colors: {
  custom: {
    50: '#88abec',
    500: '#408ae3',
    950: '#000000',
  },
}
SCSS
$custom: #408ae3;
$custom-light: #88abec;
$custom-dark: #000000;
JSON
{
  "hex": "#408ae3",
  "rgb": {
    "r": 64,
    "g": 138,
    "b": 227
  },
  "hsl": {
    "h": 212.761,
    "s": 74.429,
    "l": 57.059
  },
  "oklch": {
    "l": 0.62972,
    "c": 0.15326,
    "h": 254.7
  },
  "luminance": 0.24813
}

Semantic roles & 50–950 ramp

primary
#408AE3
secondary
#E1C29E
accent
#9C37F1
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D1016
muted
#7E7F84

Preview Lab

Preview with #408AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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