#5891EC#5891EC

#5891EC is a light, vivid blue. Relative luminance 0.284; OKLCH L 66.0% C 0.149 H 259.4°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#5891EC
RGBrgb(88, 145, 236)
HSLhsl(217, 80%, 64%)
HSVhsv(217, 63%, 93%)
CMYKcmyk(62.7%, 38.6%, 0%, 7.5%)
CIE-LABlab(60.23, 9.13, -51.47)
CIE-LCHlch(60.23, 52.27, 280.06°)
OKLaboklab(65.98% -0.0275 -0.1463)
OKLCHoklch(65.98% 0.149 259.4)
XYZxyz(29.2849, 28.3789, 83.2750)
Luminance0.2838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5891EC #ECB358
analogous
#58DBEC #5891EC #6958EC
triadic
#5891EC #EC5891 #91EC58
tetradic
#5891EC #EC58DB #ECB358 #58EC69
square
#5891EC #EC58DB #ECB358 #58EC69
split-complementary
#5891EC #EC6958 #DBEC58
monochromatic
#1552B5 #216DE6 #5891EC #8FB5F2 #C6D9F9

Accessibility & contrast

On white

3.15
#5891EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#5891EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5891EC
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5891EC#FFFFFF#000000##000000
##5891EC1.003.156.686.68
#FFFFFF3.151.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6999F0
Deuteranopia (green-blind)
#548BEA
Tritanopia (blue-blind)
#00A6B3
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5891ec;
/* rgb */ color: rgb(88, 145, 236);
/* oklch */ color: oklch(66.0% 0.149 259.4);
Tailwind
colors: {
  custom: {
    50: '#94b0f2',
    500: '#5891ec',
    950: '#000000',
  },
}
SCSS
$custom: #5891ec;
$custom-light: #94b0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5891ec",
  "rgb": {
    "r": 88,
    "g": 145,
    "b": 236
  },
  "hsl": {
    "h": 216.892,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.65978,
    "c": 0.1489,
    "h": 259.4
  },
  "luminance": 0.28382
}

Semantic roles & 50–950 ramp

primary
#5891EC
secondary
#EAD6B6
accent
#8B0ADC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5891EC

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

Preview Lab → · Contrast checker → · Palette generator →

#5891EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva