#5E87FC#5E87FC

#5E87FC is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.2% C 0.180 H 266.9°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#5E87FC
RGBrgb(94, 135, 252)
HSLhsl(224, 96%, 68%)
HSVhsv(224, 63%, 99%)
CMYKcmyk(62.7%, 46.4%, 0%, 1.2%)
CIE-LABlab(58.73, 21.50, -62.68)
CIE-LCHlch(58.73, 66.27, 288.93°)
OKLaboklab(65.18% -0.0098 -0.1793)
OKLCHoklch(65.18% 0.18 266.9)
XYZxyz(30.8447, 26.7331, 95.6111)
Luminance0.2674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E87FC #FCD35E
analogous
#5ED6FC #5E87FC #845EFC
triadic
#5E87FC #FC5E87 #87FC5E
tetradic
#5E87FC #FC5ED6 #FCD35E #5EFC84
square
#5E87FC #FC5ED6 #FCD35E #5EFC84
split-complementary
#5E87FC #FC845E #D6FC5E
monochromatic
#043CDC #225AFB #5E87FC #9AB4FD #D6E1FE

Accessibility & contrast

On white

3.31
#5E87FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#5E87FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E87FC
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E87FC#FFFFFF#000000##000000
##5E87FC1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C95FF
Deuteranopia (green-blind)
#2E87FA
Tritanopia (blue-blind)
#00A2B5
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5e87fc;
/* rgb */ color: rgb(94, 135, 252);
/* oklch */ color: oklch(65.2% 0.180 266.9);
Tailwind
colors: {
  custom: {
    50: '#99a9fe',
    500: '#5e87fc',
    950: '#000000',
  },
}
SCSS
$custom: #5e87fc;
$custom-light: #99a9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#5e87fc",
  "rgb": {
    "r": 94,
    "g": 135,
    "b": 252
  },
  "hsl": {
    "h": 224.43,
    "s": 96.341,
    "l": 67.843
  },
  "oklch": {
    "l": 0.65184,
    "c": 0.17954,
    "h": 266.9
  },
  "luminance": 0.26736
}

Semantic roles & 50–950 ramp

primary
#5E87FC
secondary
#F3E7C3
accent
#AA00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5E87FC

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

Preview Lab → · Contrast checker → · Palette generator →

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