#5E87FB#5E87FB

#5E87FB is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.1% C 0.178 H 266.8°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#5E87FB
RGBrgb(94, 135, 251)
HSLhsl(224, 95%, 68%)
HSVhsv(224, 63%, 98%)
CMYKcmyk(62.5%, 46.2%, 0%, 1.6%)
CIE-LABlab(58.67, 21.17, -62.22)
CIE-LCHlch(58.67, 65.73, 288.79°)
OKLaboklab(65.12% -0.0099 -0.1779)
OKLCHoklch(65.12% 0.178 266.8)
XYZxyz(30.6867, 26.6699, 94.7787)
Luminance0.2667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E87FB #FBD25E
analogous
#5ED6FB #5E87FB #835EFB
triadic
#5E87FB #FB5E87 #87FB5E
tetradic
#5E87FB #FB5ED6 #FBD25E #5EFB83
square
#5E87FB #FB5ED6 #FBD25E #5EFB83
split-complementary
#5E87FB #FB835E #D6FB5E
monochromatic
#053DD9 #225AFA #5E87FB #9AB4FC #D5E0FE

Accessibility & contrast

On white

3.32
#5E87FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#5E87FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E87FB
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E87FB#FFFFFF#000000##000000
##5E87FB1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D95FF
Deuteranopia (green-blind)
#3086F9
Tritanopia (blue-blind)
#00A2B5
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5e87fb;
/* rgb */ color: rgb(94, 135, 251);
/* oklch */ color: oklch(65.1% 0.178 266.8);
Tailwind
colors: {
  custom: {
    50: '#99a9fd',
    500: '#5e87fb',
    950: '#000000',
  },
}
SCSS
$custom: #5e87fb;
$custom-light: #99a9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#5e87fb",
  "rgb": {
    "r": 94,
    "g": 135,
    "b": 251
  },
  "hsl": {
    "h": 224.331,
    "s": 95.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.6512,
    "c": 0.17821,
    "h": 266.8
  },
  "luminance": 0.26673
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E87FB

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

Preview Lab → · Contrast checker → · Palette generator →

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