#5E87ED#5E87ED

#5E87ED is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.2% C 0.159 H 265.6°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#5E87ED
RGBrgb(94, 135, 237)
HSLhsl(223, 80%, 65%)
HSVhsv(223, 60%, 93%)
CMYKcmyk(60.3%, 43%, 0%, 7.1%)
CIE-LABlab(57.87, 16.51, -55.77)
CIE-LCHlch(57.87, 58.17, 286.49°)
OKLaboklab(64.25% -0.0121 -0.159)
OKLCHoklch(64.25% 0.159 265.6)
XYZxyz(28.5609, 25.8196, 83.5829)
Luminance0.2582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E87ED #EDC45E
analogous
#5ECFED #5E87ED #7C5EED
triadic
#5E87ED #ED5E87 #87ED5E
tetradic
#5E87ED #ED5ECF #EDC45E #5EED7C
square
#5E87ED #ED5ECF #EDC45E #5EED7C
split-complementary
#5E87ED #ED7C5E #CFED5E
monochromatic
#1545BC #275EE7 #5E87ED #95B0F3 #CCD9F9

Accessibility & contrast

On white

3.41
#5E87ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#5E87ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E87ED
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E87ED#FFFFFF#000000##000000
##5E87ED1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5892F1
Deuteranopia (green-blind)
#4385EB
Tritanopia (blue-blind)
#009EAE
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5e87ed;
/* rgb */ color: rgb(94, 135, 237);
/* oklch */ color: oklch(64.2% 0.159 265.6);
Tailwind
colors: {
  custom: {
    50: '#97a9f3',
    500: '#5e87ed',
    950: '#000000',
  },
}
SCSS
$custom: #5e87ed;
$custom-light: #97a9f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e87ed",
  "rgb": {
    "r": 94,
    "g": 135,
    "b": 237
  },
  "hsl": {
    "h": 222.797,
    "s": 79.888,
    "l": 64.902
  },
  "oklch": {
    "l": 0.64247,
    "c": 0.15943,
    "h": 265.6
  },
  "luminance": 0.25822
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E87ED

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

Preview Lab → · Contrast checker → · Palette generator →

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