#5E87DC#5E87DC

#5E87DC is a light, vivid blue. Relative luminance 0.249; OKLCH L 63.2% C 0.136 H 263.5°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#5E87DC
RGBrgb(94, 135, 220)
HSLhsl(220, 64%, 62%)
HSVhsv(220, 57%, 86%)
CMYKcmyk(57.3%, 38.6%, 0%, 13.7%)
CIE-LABlab(56.95, 10.93, -47.75)
CIE-LCHlch(56.95, 48.99, 282.90°)
OKLaboklab(63.25% -0.0154 -0.1355)
OKLCHoklch(63.25% 0.136 263.5)
XYZxyz(26.1939, 24.8728, 71.1169)
Luminance0.2487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E87DC #DCB35E
analogous
#5EC6DC #5E87DC #745EDC
triadic
#5E87DC #DC5E87 #87DC5E
tetradic
#5E87DC #DC5EC6 #DCB35E #5EDC74
square
#5E87DC #DC5EC6 #DCB35E #5EDC74
split-complementary
#5E87DC #DC745E #C6DC5E
monochromatic
#224A9D #2D62D0 #5E87DC #90ACE7 #C3D2F2

Accessibility & contrast

On white

3.51
#5E87DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#5E87DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E87DC
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E87DC#FFFFFF#000000##000000
##5E87DC1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#638FDF
Deuteranopia (green-blind)
#5383DA
Tritanopia (blue-blind)
#009AA7
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5e87dc;
/* rgb */ color: rgb(94, 135, 220);
/* oklch */ color: oklch(63.2% 0.136 263.5);
Tailwind
colors: {
  custom: {
    50: '#95a9e7',
    500: '#5e87dc',
    950: '#000000',
  },
}
SCSS
$custom: #5e87dc;
$custom-light: #95a9e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e87dc",
  "rgb": {
    "r": 94,
    "g": 135,
    "b": 220
  },
  "hsl": {
    "h": 220.476,
    "s": 64.286,
    "l": 61.569
  },
  "oklch": {
    "l": 0.63245,
    "c": 0.13633,
    "h": 263.5
  },
  "luminance": 0.24875
}

Semantic roles & 50–950 ramp

primary
#5E87DC
secondary
#E2D3B3
accent
#9219CC
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5E87DC

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

Preview Lab → · Contrast checker → · Palette generator →

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