#5E87EE#5E87EE

#5E87EE is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.3% C 0.161 H 265.7°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#5E87EE
RGBrgb(94, 135, 238)
HSLhsl(223, 81%, 65%)
HSVhsv(223, 61%, 93%)
CMYKcmyk(60.5%, 43.3%, 0%, 6.7%)
CIE-LABlab(57.92, 16.84, -56.24)
CIE-LCHlch(57.92, 58.71, 286.67°)
OKLaboklab(64.31% -0.0119 -0.1603)
OKLCHoklch(64.31% 0.161 265.7)
XYZxyz(28.7074, 25.8782, 84.3545)
Luminance0.2588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E87EE #EEC55E
analogous
#5ECFEE #5E87EE #7D5EEE
triadic
#5E87EE #EE5E87 #87EE5E
tetradic
#5E87EE #EE5ECF #EEC55E #5EEE7D
square
#5E87EE #EE5ECF #EEC55E #5EEE7D
split-complementary
#5E87EE #EE7D5E #CFEE5E
monochromatic
#1444BE #275EE8 #5E87EE #95B0F4 #CDDAFA

Accessibility & contrast

On white

3.40
#5E87EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#5E87EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E87EE
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E87EE#FFFFFF#000000##000000
##5E87EE1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5892F2
Deuteranopia (green-blind)
#4285EC
Tritanopia (blue-blind)
#009EAF
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5e87ee;
/* rgb */ color: rgb(94, 135, 238);
/* oklch */ color: oklch(64.3% 0.161 265.7);
Tailwind
colors: {
  custom: {
    50: '#97a9f4',
    500: '#5e87ee',
    950: '#000000',
  },
}
SCSS
$custom: #5e87ee;
$custom-light: #97a9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e87ee",
  "rgb": {
    "r": 94,
    "g": 135,
    "b": 238
  },
  "hsl": {
    "h": 222.917,
    "s": 80.899,
    "l": 65.098
  },
  "oklch": {
    "l": 0.64308,
    "c": 0.16078,
    "h": 265.7
  },
  "luminance": 0.25881
}

Semantic roles & 50–950 ramp

primary
#5E87EE
secondary
#ECDEBB
accent
#A108DD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5E87EE

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

Preview Lab → · Contrast checker → · Palette generator →

#5E87EE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva