#5E87DD#5E87DD

#5E87DD is a light, vivid blue. Relative luminance 0.249; OKLCH L 63.3% C 0.138 H 263.7°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#5E87DD
RGBrgb(94, 135, 221)
HSLhsl(221, 65%, 62%)
HSVhsv(221, 57%, 87%)
CMYKcmyk(57.5%, 38.9%, 0%, 13.3%)
CIE-LABlab(57.00, 11.26, -48.23)
CIE-LCHlch(57.00, 49.52, 283.14°)
OKLaboklab(63.3% -0.0152 -0.1368)
OKLCHoklch(63.3% 0.138 263.7)
XYZxyz(26.3267, 24.9259, 71.8164)
Luminance0.2493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E87DD #DDB45E
analogous
#5EC7DD #5E87DD #755EDD
triadic
#5E87DD #DD5E87 #87DD5E
tetradic
#5E87DD #DD5EC7 #DDB45E #5EDD75
square
#5E87DD #DD5EC7 #DDB45E #5EDD75
split-complementary
#5E87DD #DD755E #C7DD5E
monochromatic
#224A9F #2C62D2 #5E87DD #91ADE8 #C3D2F2

Accessibility & contrast

On white

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

On black

5.99
#5E87DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E87DD
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E87DD#FFFFFF#000000##000000
##5E87DD1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#638FE0
Deuteranopia (green-blind)
#5283DB
Tritanopia (blue-blind)
#009AA7
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5e87dd;
/* rgb */ color: rgb(94, 135, 221);
/* oklch */ color: oklch(63.3% 0.138 263.7);
Tailwind
colors: {
  custom: {
    50: '#95a9e8',
    500: '#5e87dd',
    950: '#000000',
  },
}
SCSS
$custom: #5e87dd;
$custom-light: #95a9e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e87dd",
  "rgb": {
    "r": 94,
    "g": 135,
    "b": 221
  },
  "hsl": {
    "h": 220.63,
    "s": 65.128,
    "l": 61.765
  },
  "oklch": {
    "l": 0.63302,
    "c": 0.13769,
    "h": 263.7
  },
  "luminance": 0.24928
}

Semantic roles & 50–950 ramp

primary
#5E87DD
secondary
#E3D4B4
accent
#9319CD
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5E87DD

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

Preview Lab → · Contrast checker → · Palette generator →

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