#5885CC#5885CC

#5885CC is a mid, moderate blue. Relative luminance 0.232; OKLCH L 61.6% C 0.119 H 259.2°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#5885CC
RGBrgb(88, 133, 204)
HSLhsl(217, 53%, 57%)
HSVhsv(217, 57%, 80%)
CMYKcmyk(56.9%, 34.8%, 0%, 20%)
CIE-LABlab(55.29, 5.69, -41.40)
CIE-LCHlch(55.29, 41.79, 277.83°)
OKLaboklab(61.61% -0.0223 -0.117)
OKLCHoklch(61.61% 0.119 259.2)
XYZxyz(23.3073, 23.2075, 60.3663)
Luminance0.2321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5885CC #CC9F58
analogous
#58BFCC #5885CC #6558CC
triadic
#5885CC #CC5885 #85CC58
tetradic
#5885CC #CC58BF #CC9F58 #58CC65
square
#5885CC #CC58BF #CC9F58 #58CC65
split-complementary
#5885CC #CC6558 #BFCC58
monochromatic
#284B82 #3666B1 #5885CC #87A7DA #B6C9E9

Accessibility & contrast

On white

3.72
#5885CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#5885CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5885CC
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5885CC#FFFFFF#000000##000000
##5885CC1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#688ACF
Deuteranopia (green-blind)
#597FCB
Tritanopia (blue-blind)
#00959F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5885cc;
/* rgb */ color: rgb(88, 133, 204);
/* oklch */ color: oklch(61.6% 0.119 259.2);
Tailwind
colors: {
  custom: {
    50: '#8fa8dc',
    500: '#5885cc',
    950: '#000000',
  },
}
SCSS
$custom: #5885cc;
$custom-light: #8fa8dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5885cc",
  "rgb": {
    "r": 88,
    "g": 133,
    "b": 204
  },
  "hsl": {
    "h": 216.724,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61606,
    "c": 0.11913,
    "h": 259.2
  },
  "luminance": 0.23209
}

Semantic roles & 50–950 ramp

primary
#5885CC
secondary
#D7C5A8
accent
#A44BDD
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5885CC

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

Preview Lab → · Contrast checker → · Palette generator →

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