#5E87EA#5E87EA

#5E87EA is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.1% C 0.155 H 265.3°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#5E87EA
RGBrgb(94, 135, 234)
HSLhsl(222, 77%, 64%)
HSVhsv(222, 60%, 92%)
CMYKcmyk(59.8%, 42.3%, 0%, 8.2%)
CIE-LABlab(57.70, 15.52, -54.37)
CIE-LCHlch(57.70, 56.54, 285.93°)
OKLaboklab(64.07% -0.0126 -0.1549)
OKLCHoklch(64.07% 0.155 265.3)
XYZxyz(28.1263, 25.6457, 81.2939)
Luminance0.2565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E87EA #EAC15E
analogous
#5ECDEA #5E87EA #7B5EEA
triadic
#5E87EA #EA5E87 #87EA5E
tetradic
#5E87EA #EA5ECD #EAC15E #5EEA7B
square
#5E87EA #EA5ECD #EAC15E #5EEA7B
split-complementary
#5E87EA #EA7B5E #CDEA5E
monochromatic
#1846B6 #285FE3 #5E87EA #94AFF1 #CAD8F8

Accessibility & contrast

On white

3.43
#5E87EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#5E87EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E87EA
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E87EA#FFFFFF#000000##000000
##5E87EA1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B91EE
Deuteranopia (green-blind)
#4685E8
Tritanopia (blue-blind)
#009DAD
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5e87ea;
/* rgb */ color: rgb(94, 135, 234);
/* oklch */ color: oklch(64.1% 0.155 265.3);
Tailwind
colors: {
  custom: {
    50: '#97a9f1',
    500: '#5e87ea',
    950: '#000000',
  },
}
SCSS
$custom: #5e87ea;
$custom-light: #97a9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e87ea",
  "rgb": {
    "r": 94,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 222.429,
    "s": 76.923,
    "l": 64.314
  },
  "oklch": {
    "l": 0.64065,
    "c": 0.15537,
    "h": 265.3
  },
  "luminance": 0.25648
}

Semantic roles & 50–950 ramp

primary
#5E87EA
secondary
#EADCBA
accent
#9D0CD9
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5E87EA

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

Preview Lab → · Contrast checker → · Palette generator →

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