#5E87BC#5E87BC

#5E87BC is a mid, moderate cyan. Relative luminance 0.233; OKLCH L 61.5% C 0.093 H 255.2°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5E87BC
RGBrgb(94, 135, 188)
HSLhsl(214, 41%, 55%)
HSVhsv(214, 50%, 74%)
CMYKcmyk(50%, 28.2%, 0%, 26.3%)
CIE-LABlab(55.42, 0.80, -32.08)
CIE-LCHlch(55.42, 32.09, 271.43°)
OKLaboklab(61.55% -0.0237 -0.0899)
OKLCHoklch(61.55% 0.093 255.2)
XYZxyz(22.3541, 23.3369, 50.8937)
Luminance0.2334 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E87BC #BC935E
analogous
#5EB6BC #5E87BC #645EBC
triadic
#5E87BC #BC5E87 #87BC5E
tetradic
#5E87BC #BC5EB6 #BC935E #5EBC64
square
#5E87BC #BC5EB6 #BC935E #5EBC64
split-complementary
#5E87BC #BC645E #B6BC5E
monochromatic
#2F4C71 #41699C #5E87BC #89A7CE #B4C7E0

Accessibility & contrast

On white

3.71
#5E87BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#5E87BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E87BC
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E87BC#FFFFFF#000000##000000
##5E87BC1.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#728ABE
Deuteranopia (green-blind)
#6781BB
Tritanopia (blue-blind)
#32939A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5e87bc;
/* rgb */ color: rgb(94, 135, 188);
/* oklch */ color: oklch(61.5% 0.093 255.2);
Tailwind
colors: {
  custom: {
    50: '#91a9d0',
    500: '#5e87bc',
    950: '#000000',
  },
}
SCSS
$custom: #5e87bc;
$custom-light: #91a9d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e87bc",
  "rgb": {
    "r": 94,
    "g": 135,
    "b": 188
  },
  "hsl": {
    "h": 213.83,
    "s": 41.228,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61548,
    "c": 0.09296,
    "h": 255.2
  },
  "luminance": 0.23338
}

Semantic roles & 50–950 ramp

primary
#5E87BC
secondary
#CFBDA7
accent
#9C57D1
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5E87BC

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

Preview Lab → · Contrast checker → · Palette generator →

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