#5E87F0#5E87F0

#5E87F0 is a light, vivid blue. Relative luminance 0.260; OKLCH L 64.4% C 0.163 H 265.9°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#5E87F0
RGBrgb(94, 135, 240)
HSLhsl(223, 83%, 65%)
HSVhsv(223, 61%, 94%)
CMYKcmyk(60.8%, 43.8%, 0%, 5.9%)
CIE-LABlab(58.03, 17.51, -57.17)
CIE-LCHlch(58.03, 59.79, 287.03°)
OKLaboklab(64.43% -0.0116 -0.1631)
OKLCHoklch(64.43% 0.163 265.9)
XYZxyz(29.0028, 25.9964, 85.9106)
Luminance0.2600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E87F0 #F0C75E
analogous
#5ED0F0 #5E87F0 #7E5EF0
triadic
#5E87F0 #F05E87 #87F05E
tetradic
#5E87F0 #F05ED0 #F0C75E #5EF07E
square
#5E87F0 #F05ED0 #F0C75E #5EF07E
split-complementary
#5E87F0 #F07E5E #D0F05E
monochromatic
#1243C2 #265DEB #5E87F0 #96B1F5 #CEDAFA

Accessibility & contrast

On white

3.39
#5E87F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#5E87F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E87F0
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E87F0#FFFFFF#000000##000000
##5E87F01.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5693F4
Deuteranopia (green-blind)
#4085EE
Tritanopia (blue-blind)
#009FB0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5e87f0;
/* rgb */ color: rgb(94, 135, 240);
/* oklch */ color: oklch(64.4% 0.163 265.9);
Tailwind
colors: {
  custom: {
    50: '#98a9f5',
    500: '#5e87f0',
    950: '#000000',
  },
}
SCSS
$custom: #5e87f0;
$custom-light: #98a9f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e87f0",
  "rgb": {
    "r": 94,
    "g": 135,
    "b": 240
  },
  "hsl": {
    "h": 223.151,
    "s": 82.955,
    "l": 65.49
  },
  "oklch": {
    "l": 0.6443,
    "c": 0.16347,
    "h": 265.9
  },
  "luminance": 0.25999
}

Semantic roles & 50–950 ramp

primary
#5E87F0
secondary
#EDE0BC
accent
#A206DF
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5E87F0

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

Preview Lab → · Contrast checker → · Palette generator →

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