#5E87F1#5E87F1

#5E87F1 is a light, vivid blue. Relative luminance 0.261; OKLCH L 64.5% C 0.165 H 266.0°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#5E87F1
RGBrgb(94, 135, 241)
HSLhsl(223, 84%, 66%)
HSVhsv(223, 61%, 95%)
CMYKcmyk(61%, 44%, 0%, 5.5%)
CIE-LABlab(58.09, 17.84, -57.63)
CIE-LCHlch(58.09, 60.33, 287.20°)
OKLaboklab(64.49% -0.0114 -0.1644)
OKLCHoklch(64.49% 0.165 266)
XYZxyz(29.1518, 26.0560, 86.6951)
Luminance0.2606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E87F1 #F1C85E
analogous
#5ED1F1 #5E87F1 #7E5EF1
triadic
#5E87F1 #F15E87 #87F15E
tetradic
#5E87F1 #F15ED1 #F1C85E #5EF17E
square
#5E87F1 #F15ED1 #F1C85E #5EF17E
split-complementary
#5E87F1 #F17E5E #D1F15E
monochromatic
#1143C4 #265DEC #5E87F1 #96B1F6 #CFDBFB

Accessibility & contrast

On white

3.38
#5E87F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#5E87F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E87F1
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E87F1#FFFFFF#000000##000000
##5E87F11.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5593F5
Deuteranopia (green-blind)
#3F85EF
Tritanopia (blue-blind)
#009FB0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5e87f1;
/* rgb */ color: rgb(94, 135, 241);
/* oklch */ color: oklch(64.5% 0.165 266.0);
Tailwind
colors: {
  custom: {
    50: '#98a9f6',
    500: '#5e87f1',
    950: '#000000',
  },
}
SCSS
$custom: #5e87f1;
$custom-light: #98a9f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5e87f1",
  "rgb": {
    "r": 94,
    "g": 135,
    "b": 241
  },
  "hsl": {
    "h": 223.265,
    "s": 84,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64492,
    "c": 0.16483,
    "h": 266
  },
  "luminance": 0.26059
}

Semantic roles & 50–950 ramp

primary
#5E87F1
secondary
#EEE0BD
accent
#A305E0
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5E87F1

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

Preview Lab → · Contrast checker → · Palette generator →

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