#5E87EB#5E87EB

#5E87EB is a light, vivid blue. Relative luminance 0.257; OKLCH L 64.1% C 0.157 H 265.4°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#5E87EB
RGBrgb(94, 135, 235)
HSLhsl(223, 78%, 65%)
HSVhsv(223, 60%, 92%)
CMYKcmyk(60%, 42.6%, 0%, 7.8%)
CIE-LABlab(57.75, 15.85, -54.84)
CIE-LCHlch(57.75, 57.08, 286.12°)
OKLaboklab(64.13% -0.0124 -0.1562)
OKLCHoklch(64.13% 0.157 265.4)
XYZxyz(28.2703, 25.7034, 82.0526)
Luminance0.2571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E87EB #EBC25E
analogous
#5ECEEB #5E87EB #7C5EEB
triadic
#5E87EB #EB5E87 #87EB5E
tetradic
#5E87EB #EB5ECE #EBC25E #5EEB7C
square
#5E87EB #EB5ECE #EBC25E #5EEB7C
split-complementary
#5E87EB #EB7C5E #CEEB5E
monochromatic
#1746B8 #285EE4 #5E87EB #94B0F2 #CBD8F9

Accessibility & contrast

On white

3.42
#5E87EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#5E87EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E87EB
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E87EB#FFFFFF#000000##000000
##5E87EB1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A92EF
Deuteranopia (green-blind)
#4585E9
Tritanopia (blue-blind)
#009DAD
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5e87eb;
/* rgb */ color: rgb(94, 135, 235);
/* oklch */ color: oklch(64.1% 0.157 265.4);
Tailwind
colors: {
  custom: {
    50: '#97a9f2',
    500: '#5e87eb',
    950: '#000000',
  },
}
SCSS
$custom: #5e87eb;
$custom-light: #97a9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e87eb",
  "rgb": {
    "r": 94,
    "g": 135,
    "b": 235
  },
  "hsl": {
    "h": 222.553,
    "s": 77.901,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64125,
    "c": 0.15673,
    "h": 265.4
  },
  "luminance": 0.25706
}

Semantic roles & 50–950 ramp

primary
#5E87EB
secondary
#EBDDBA
accent
#9E0BDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5E87EB

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

Preview Lab → · Contrast checker → · Palette generator →

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