#5E87E1#5E87E1

#5E87E1 is a light, vivid blue. Relative luminance 0.251; OKLCH L 63.5% C 0.143 H 264.3°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#5E87E1
RGBrgb(94, 135, 225)
HSLhsl(221, 69%, 63%)
HSVhsv(221, 58%, 88%)
CMYKcmyk(58.2%, 40%, 0%, 11.8%)
CIE-LABlab(57.21, 12.57, -50.13)
CIE-LCHlch(57.21, 51.68, 284.07°)
OKLaboklab(63.53% -0.0143 -0.1424)
OKLCHoklch(63.53% 0.143 264.3)
XYZxyz(26.8660, 25.1416, 74.6566)
Luminance0.2514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E87E1 #E1B85E
analogous
#5EC9E1 #5E87E1 #765EE1
triadic
#5E87E1 #E15E87 #87E15E
tetradic
#5E87E1 #E15EC9 #E1B85E #5EE176
square
#5E87E1 #E15EC9 #E1B85E #5EE176
split-complementary
#5E87E1 #E1765E #C9E15E
monochromatic
#1F49A6 #2A61D7 #5E87E1 #92ADEB #C5D4F4

Accessibility & contrast

On white

3.48
#5E87E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#5E87E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E87E1
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E87E1#FFFFFF#000000##000000
##5E87E11.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6090E5
Deuteranopia (green-blind)
#4F84DF
Tritanopia (blue-blind)
#009BA9
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5e87e1;
/* rgb */ color: rgb(94, 135, 225);
/* oklch */ color: oklch(63.5% 0.143 264.3);
Tailwind
colors: {
  custom: {
    50: '#95a9eb',
    500: '#5e87e1',
    950: '#000000',
  },
}
SCSS
$custom: #5e87e1;
$custom-light: #95a9eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5e87e1",
  "rgb": {
    "r": 94,
    "g": 135,
    "b": 225
  },
  "hsl": {
    "h": 221.221,
    "s": 68.586,
    "l": 62.549
  },
  "oklch": {
    "l": 0.63533,
    "c": 0.14315,
    "h": 264.3
  },
  "luminance": 0.25144
}

Semantic roles & 50–950 ramp

primary
#5E87E1
secondary
#E5D6B6
accent
#9615D1
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5E87E1

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

Preview Lab → · Contrast checker → · Palette generator →

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