#5E87F5#5E87F5

#5E87F5 is a light, vivid blue. Relative luminance 0.263; OKLCH L 64.7% C 0.170 H 266.4°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#5E87F5
RGBrgb(94, 135, 245)
HSLhsl(224, 88%, 66%)
HSVhsv(224, 62%, 96%)
CMYKcmyk(61.6%, 44.9%, 0%, 3.9%)
CIE-LABlab(58.32, 19.17, -59.48)
CIE-LCHlch(58.32, 62.49, 287.86°)
OKLaboklab(64.74% -0.0108 -0.1698)
OKLCHoklch(64.74% 0.17 266.4)
XYZxyz(29.7558, 26.2976, 89.8763)
Luminance0.2630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E87F5 #F5CC5E
analogous
#5ED2F5 #5E87F5 #815EF5
triadic
#5E87F5 #F55E87 #87F55E
tetradic
#5E87F5 #F55ED2 #F5CC5E #5EF581
square
#5E87F5 #F55ED2 #F5CC5E #5EF581
split-complementary
#5E87F5 #F5815E #D2F55E
monochromatic
#0D41CC #245CF1 #5E87F5 #98B2F9 #D1DDFC

Accessibility & contrast

On white

3.35
#5E87F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#5E87F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E87F5
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E87F5#FFFFFF#000000##000000
##5E87F51.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5293F9
Deuteranopia (green-blind)
#3986F3
Tritanopia (blue-blind)
#00A0B2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5e87f5;
/* rgb */ color: rgb(94, 135, 245);
/* oklch */ color: oklch(64.7% 0.170 266.4);
Tailwind
colors: {
  custom: {
    50: '#98a9f9',
    500: '#5e87f5',
    950: '#000000',
  },
}
SCSS
$custom: #5e87f5;
$custom-light: #98a9f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e87f5",
  "rgb": {
    "r": 94,
    "g": 135,
    "b": 245
  },
  "hsl": {
    "h": 223.709,
    "s": 88.304,
    "l": 66.471
  },
  "oklch": {
    "l": 0.64741,
    "c": 0.17019,
    "h": 266.4
  },
  "luminance": 0.263
}

Semantic roles & 50–950 ramp

primary
#5E87F5
secondary
#F0E3BF
accent
#A701E5
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5E87F5

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

Preview Lab → · Contrast checker → · Palette generator →

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