#5885EC#5885EC

#5885EC is a light, vivid blue. Relative luminance 0.249; OKLCH L 63.5% C 0.162 H 264.5°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#5885EC
RGBrgb(88, 133, 236)
HSLhsl(222, 80%, 64%)
HSVhsv(222, 63%, 93%)
CMYKcmyk(62.7%, 43.6%, 0%, 7.5%)
CIE-LABlab(56.98, 16.32, -56.65)
CIE-LCHlch(56.98, 58.95, 286.07°)
OKLaboklab(63.47% -0.0156 -0.1617)
OKLCHoklch(63.47% 0.162 264.5)
XYZxyz(27.5471, 24.9034, 82.6957)
Luminance0.2491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5885EC #ECBF58
analogous
#58CFEC #5885EC #7558EC
triadic
#5885EC #EC5885 #85EC58
tetradic
#5885EC #EC58CF #ECBF58 #58EC75
square
#5885EC #EC58CF #ECBF58 #58EC75
split-complementary
#5885EC #EC7558 #CFEC58
monochromatic
#1545B5 #215DE6 #5885EC #8FADF2 #C6D5F9

Accessibility & contrast

On white

3.51
#5885EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#5885EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5885EC
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5885EC#FFFFFF#000000##000000
##5885EC1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5590F0
Deuteranopia (green-blind)
#3D82EA
Tritanopia (blue-blind)
#009CAD
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5885ec;
/* rgb */ color: rgb(88, 133, 236);
/* oklch */ color: oklch(63.5% 0.162 264.5);
Tailwind
colors: {
  custom: {
    50: '#94a8f3',
    500: '#5885ec',
    950: '#000000',
  },
}
SCSS
$custom: #5885ec;
$custom-light: #94a8f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5885ec",
  "rgb": {
    "r": 88,
    "g": 133,
    "b": 236
  },
  "hsl": {
    "h": 221.757,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63469,
    "c": 0.16242,
    "h": 264.5
  },
  "luminance": 0.24906
}

Semantic roles & 50–950 ramp

primary
#5885EC
secondary
#EADAB6
accent
#9C0ADC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5885EC

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

Preview Lab → · Contrast checker → · Palette generator →

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