#5E87FF#5E87FF

#5E87FF is a light, vivid blue. Relative luminance 0.269; OKLCH L 65.4% C 0.184 H 267.1°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#5E87FF
RGBrgb(94, 135, 255)
HSLhsl(225, 100%, 68%)
HSVhsv(225, 63%, 100%)
CMYKcmyk(63.1%, 47.1%, 0%, 0%)
CIE-LABlab(58.90, 22.50, -64.04)
CIE-LCHlch(58.90, 67.88, 289.36°)
OKLaboklab(65.38% -0.0094 -0.1833)
OKLCHoklch(65.38% 0.184 267.1)
XYZxyz(31.3239, 26.9248, 98.1346)
Luminance0.2693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E87FF #FFD65E
analogous
#5ED8FF #5E87FF #855EFF
triadic
#5E87FF #FF5E87 #87FF5E
tetradic
#5E87FF #FF5ED8 #FFD65E #5EFF85
square
#5E87FF #FF5ED8 #FFD65E #5EFF85
split-complementary
#5E87FF #FF855E #D8FF5E
monochromatic
#003AE3 #2159FF #5E87FF #9BB5FF #D8E2FF

Accessibility & contrast

On white

3.29
#5E87FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#5E87FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E87FF
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E87FF#FFFFFF#000000##000000
##5E87FF1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4995FF
Deuteranopia (green-blind)
#2887FD
Tritanopia (blue-blind)
#00A3B7
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5e87ff;
/* rgb */ color: rgb(94, 135, 255);
/* oklch */ color: oklch(65.4% 0.184 267.1);
Tailwind
colors: {
  custom: {
    50: '#9aa9ff',
    500: '#5e87ff',
    950: '#000000',
  },
}
SCSS
$custom: #5e87ff;
$custom-light: #9aa9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5e87ff",
  "rgb": {
    "r": 94,
    "g": 135,
    "b": 255
  },
  "hsl": {
    "h": 224.72,
    "s": 100,
    "l": 68.431
  },
  "oklch": {
    "l": 0.65377,
    "c": 0.18352,
    "h": 267.1
  },
  "luminance": 0.26928
}

Semantic roles & 50–950 ramp

primary
#5E87FF
secondary
#F5E8C4
accent
#AB00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5E87FF

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

Preview Lab → · Contrast checker → · Palette generator →

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