#5E87FE#5E87FE

#5E87FE is a light, vivid blue. Relative luminance 0.269; OKLCH L 65.3% C 0.182 H 267.0°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#5E87FE
RGBrgb(94, 135, 254)
HSLhsl(225, 99%, 68%)
HSVhsv(225, 63%, 100%)
CMYKcmyk(63%, 46.9%, 0%, 0.4%)
CIE-LABlab(58.85, 22.17, -63.59)
CIE-LCHlch(58.85, 67.34, 289.22°)
OKLaboklab(65.31% -0.0095 -0.1819)
OKLCHoklch(65.31% 0.182 267)
XYZxyz(31.1633, 26.8606, 97.2890)
Luminance0.2686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E87FE #FED55E
analogous
#5ED7FE #5E87FE #855EFE
triadic
#5E87FE #FE5E87 #87FE5E
tetradic
#5E87FE #FE5ED7 #FED55E #5EFE85
square
#5E87FE #FE5ED7 #FED55E #5EFE85
split-complementary
#5E87FE #FE855E #D7FE5E
monochromatic
#013AE0 #215AFE #5E87FE #9BB4FE #D8E2FF

Accessibility & contrast

On white

3.30
#5E87FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#5E87FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E87FE
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E87FE#FFFFFF#000000##000000
##5E87FE1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A95FF
Deuteranopia (green-blind)
#2B87FC
Tritanopia (blue-blind)
#00A2B6
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5e87fe;
/* rgb */ color: rgb(94, 135, 254);
/* oklch */ color: oklch(65.3% 0.182 267.0);
Tailwind
colors: {
  custom: {
    50: '#9aa9ff',
    500: '#5e87fe',
    950: '#000000',
  },
}
SCSS
$custom: #5e87fe;
$custom-light: #9aa9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5e87fe",
  "rgb": {
    "r": 94,
    "g": 135,
    "b": 254
  },
  "hsl": {
    "h": 224.625,
    "s": 98.765,
    "l": 68.235
  },
  "oklch": {
    "l": 0.65313,
    "c": 0.1822,
    "h": 267
  },
  "luminance": 0.26863
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E87FE

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

Preview Lab → · Contrast checker → · Palette generator →

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