#5E87EF#5E87EF

#5E87EF is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.4% C 0.162 H 265.8°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#5E87EF
RGBrgb(94, 135, 239)
HSLhsl(223, 82%, 65%)
HSVhsv(223, 61%, 94%)
CMYKcmyk(60.7%, 43.5%, 0%, 6.3%)
CIE-LABlab(57.98, 17.18, -56.70)
CIE-LCHlch(57.98, 59.25, 286.85°)
OKLaboklab(64.37% -0.0118 -0.1617)
OKLCHoklch(64.37% 0.162 265.8)
XYZxyz(28.8547, 25.9371, 85.1304)
Luminance0.2594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E87EF #EFC65E
analogous
#5ED0EF #5E87EF #7D5EEF
triadic
#5E87EF #EF5E87 #87EF5E
tetradic
#5E87EF #EF5ED0 #EFC65E #5EEF7D
square
#5E87EF #EF5ED0 #EFC65E #5EEF7D
split-complementary
#5E87EF #EF7D5E #D0EF5E
monochromatic
#1344C0 #265EE9 #5E87EF #96B0F5 #CDDAFA

Accessibility & contrast

On white

3.39
#5E87EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#5E87EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E87EF
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E87EF#FFFFFF#000000##000000
##5E87EF1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5792F3
Deuteranopia (green-blind)
#4185ED
Tritanopia (blue-blind)
#009EAF
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5e87ef;
/* rgb */ color: rgb(94, 135, 239);
/* oklch */ color: oklch(64.4% 0.162 265.8);
Tailwind
colors: {
  custom: {
    50: '#97a9f5',
    500: '#5e87ef',
    950: '#000000',
  },
}
SCSS
$custom: #5e87ef;
$custom-light: #97a9f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e87ef",
  "rgb": {
    "r": 94,
    "g": 135,
    "b": 239
  },
  "hsl": {
    "h": 223.034,
    "s": 81.921,
    "l": 65.294
  },
  "oklch": {
    "l": 0.64369,
    "c": 0.16213,
    "h": 265.8
  },
  "luminance": 0.2594
}

Semantic roles & 50–950 ramp

primary
#5E87EF
secondary
#EDDFBC
accent
#A107DE
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5E87EF

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

Preview Lab → · Contrast checker → · Palette generator →

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