#5E87E8#5E87E8

#5E87E8 is a light, vivid blue. Relative luminance 0.255; OKLCH L 63.9% C 0.153 H 265.1°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#5E87E8
RGBrgb(94, 135, 232)
HSLhsl(222, 75%, 64%)
HSVhsv(222, 59%, 91%)
CMYKcmyk(59.5%, 41.8%, 0%, 9%)
CIE-LABlab(57.59, 14.86, -53.43)
CIE-LCHlch(57.59, 55.46, 285.54°)
OKLaboklab(63.94% -0.013 -0.1521)
OKLCHoklch(63.94% 0.153 265.1)
XYZxyz(27.8406, 25.5315, 79.7892)
Luminance0.2553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E87E8 #E8BF5E
analogous
#5ECCE8 #5E87E8 #7A5EE8
triadic
#5E87E8 #E85E87 #87E85E
tetradic
#5E87E8 #E85ECC #E8BF5E #5EE87A
square
#5E87E8 #E85ECC #E8BF5E #5EE87A
split-complementary
#5E87E8 #E87A5E #CCE85E
monochromatic
#1947B2 #285FE0 #5E87E8 #94AFF0 #C9D7F7

Accessibility & contrast

On white

3.44
#5E87E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#5E87E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E87E8
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E87E8#FFFFFF#000000##000000
##5E87E81.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C91EC
Deuteranopia (green-blind)
#4884E6
Tritanopia (blue-blind)
#009DAC
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5e87e8;
/* rgb */ color: rgb(94, 135, 232);
/* oklch */ color: oklch(63.9% 0.153 265.1);
Tailwind
colors: {
  custom: {
    50: '#96a9f0',
    500: '#5e87e8',
    950: '#000000',
  },
}
SCSS
$custom: #5e87e8;
$custom-light: #96a9f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e87e8",
  "rgb": {
    "r": 94,
    "g": 135,
    "b": 232
  },
  "hsl": {
    "h": 222.174,
    "s": 75,
    "l": 63.922
  },
  "oklch": {
    "l": 0.63945,
    "c": 0.15266,
    "h": 265.1
  },
  "luminance": 0.25534
}

Semantic roles & 50–950 ramp

primary
#5E87E8
secondary
#E9DBB9
accent
#9B0ED7
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5E87E8

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

Preview Lab → · Contrast checker → · Palette generator →

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