#5891EB#5891EB

#5891EB is a light, vivid blue. Relative luminance 0.283; OKLCH L 65.9% C 0.148 H 259.2°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#5891EB
RGBrgb(88, 145, 235)
HSLhsl(217, 79%, 63%)
HSVhsv(217, 63%, 92%)
CMYKcmyk(62.6%, 38.3%, 0%, 7.8%)
CIE-LABlab(60.18, 8.80, -51.00)
CIE-LCHlch(60.18, 51.75, 279.79°)
OKLaboklab(65.92% -0.0277 -0.145)
OKLCHoklch(65.92% 0.148 259.2)
XYZxyz(29.1400, 28.3209, 82.5120)
Luminance0.2832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5891EB #EBB258
analogous
#58DAEB #5891EB #6858EB
triadic
#5891EB #EB5891 #91EB58
tetradic
#5891EB #EB58DA #EBB258 #58EB68
square
#5891EB #EB58DA #EBB258 #58EB68
split-complementary
#5891EB #EB6858 #DAEB58
monochromatic
#1553B3 #216DE4 #5891EB #8FB5F2 #C5D9F8

Accessibility & contrast

On white

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

On black

6.66
#5891EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5891EB
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5891EB#FFFFFF#000000##000000
##5891EB1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A98EF
Deuteranopia (green-blind)
#558BE9
Tritanopia (blue-blind)
#00A5B3
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5891eb;
/* rgb */ color: rgb(88, 145, 235);
/* oklch */ color: oklch(65.9% 0.148 259.2);
Tailwind
colors: {
  custom: {
    50: '#94b0f2',
    500: '#5891eb',
    950: '#000000',
  },
}
SCSS
$custom: #5891eb;
$custom-light: #94b0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5891eb",
  "rgb": {
    "r": 88,
    "g": 145,
    "b": 235
  },
  "hsl": {
    "h": 216.735,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.65921,
    "c": 0.14758,
    "h": 259.2
  },
  "luminance": 0.28324
}

Semantic roles & 50–950 ramp

primary
#5891EB
secondary
#EAD5B5
accent
#8A0BDB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5891EB

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

Preview Lab → · Contrast checker → · Palette generator →

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