#408BE3#408BE3

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

Color values

HEX#408BE3
RGBrgb(64, 139, 227)
HSLhsl(212, 74%, 57%)
HSVhsv(212, 72%, 89%)
CMYKcmyk(71.8%, 38.8%, 0%, 11%)
CIE-LABlab(57.17, 5.85, -51.39)
CIE-LCHlch(57.17, 51.72, 276.49°)
OKLaboklab(63.19% -0.0412 -0.1465)
OKLCHoklch(63.19% 0.152 254.3)
XYZxyz(25.2070, 25.0985, 76.1742)
Luminance0.2510 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408BE3 #E39840
analogous
#40DCE3 #408BE3 #4740E3
triadic
#408BE3 #E3408B #8BE340
tetradic
#408BE3 #E340DC #E39840 #40E347
square
#408BE3 #E340DC #E39840 #40E347
split-complementary
#408BE3 #E34740 #DCE340
monochromatic
#164F93 #1D6CC8 #408BE3 #75ABEB #ABCCF3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##408BE3#FFFFFF#000000##000000
##408BE31.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)
#6291E7
Deuteranopia (green-blind)
#4982E1
Tritanopia (blue-blind)
#00A0AC
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #408be3;
/* rgb */ color: rgb(64, 139, 227);
/* oklch */ color: oklch(63.2% 0.152 254.3);
Tailwind
colors: {
  custom: {
    50: '#88acec',
    500: '#408be3',
    950: '#000000',
  },
}
SCSS
$custom: #408be3;
$custom-light: #88acec;
$custom-dark: #000000;
JSON
{
  "hex": "#408be3",
  "rgb": {
    "r": 64,
    "g": 139,
    "b": 227
  },
  "hsl": {
    "h": 212.393,
    "s": 74.429,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63191,
    "c": 0.15222,
    "h": 254.3
  },
  "luminance": 0.25101
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #408BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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