#5E87C8#5E87C8

#5E87C8 is a light, moderate blue. Relative luminance 0.239; OKLCH L 62.2% C 0.109 H 259.3°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#5E87C8
RGBrgb(94, 135, 200)
HSLhsl(217, 49%, 58%)
HSVhsv(217, 53%, 78%)
CMYKcmyk(53%, 32.5%, 0%, 21.6%)
CIE-LABlab(55.96, 4.53, -38.04)
CIE-LCHlch(55.96, 38.31, 276.79°)
OKLaboklab(62.15% -0.0202 -0.1071)
OKLCHoklch(62.15% 0.109 259.3)
XYZxyz(23.7018, 23.8760, 57.9919)
Luminance0.2388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E87C8 #C89F5E
analogous
#5EBCC8 #5E87C8 #6A5EC8
triadic
#5E87C8 #C85E87 #87C85E
tetradic
#5E87C8 #C85EBC #C89F5E #5EC86A
square
#5E87C8 #C85EBC #C89F5E #5EC86A
split-complementary
#5E87C8 #C86A5E #BCC85E
monochromatic
#2C4C80 #3B67AE #5E87C8 #8CA9D8 #B9CBE7

Accessibility & contrast

On white

3.64
#5E87C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#5E87C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E87C8
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E87C8#FFFFFF#000000##000000
##5E87C81.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8CCB
Deuteranopia (green-blind)
#6082C7
Tritanopia (blue-blind)
#25959E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5e87c8;
/* rgb */ color: rgb(94, 135, 200);
/* oklch */ color: oklch(62.2% 0.109 259.3);
Tailwind
colors: {
  custom: {
    50: '#92a9d9',
    500: '#5e87c8',
    950: '#000000',
  },
}
SCSS
$custom: #5e87c8;
$custom-light: #92a9d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e87c8",
  "rgb": {
    "r": 94,
    "g": 135,
    "b": 200
  },
  "hsl": {
    "h": 216.792,
    "s": 49.074,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62154,
    "c": 0.10904,
    "h": 259.3
  },
  "luminance": 0.23878
}

Semantic roles & 50–950 ramp

primary
#5E87C8
secondary
#D6C6AC
accent
#A34FD9
background
#F9FAFD
surface
#F2F4FA
border
#CCCED3
text
#0D0F14
muted
#7E7F83

Preview Lab

Preview with #5E87C8

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

Preview Lab → · Contrast checker → · Palette generator →

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