#5988CC#5988CC

#5988CC is a light, moderate blue. Relative luminance 0.241; OKLCH L 62.3% C 0.116 H 257.6°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#5988CC
RGBrgb(89, 136, 204)
HSLhsl(215, 53%, 57%)
HSVhsv(215, 56%, 80%)
CMYKcmyk(56.4%, 33.3%, 0%, 20%)
CIE-LABlab(56.18, 4.12, -39.99)
CIE-LCHlch(56.18, 40.20, 275.89°)
OKLaboklab(62.32% -0.0248 -0.1129)
OKLCHoklch(62.32% 0.116 257.6)
XYZxyz(23.8193, 24.0898, 60.5096)
Luminance0.2409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5988CC #CC9D59
analogous
#59C2CC #5988CC #6359CC
triadic
#5988CC #CC5988 #88CC59
tetradic
#5988CC #CC59C2 #CC9D59 #59CC63
square
#5988CC #CC59C2 #CC9D59 #59CC63
split-complementary
#5988CC #CC6359 #C2CC59
monochromatic
#284D83 #3669B1 #5988CC #88AADA #B7CBE9

Accessibility & contrast

On white

3.61
#5988CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#5988CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5988CC
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5988CC#FFFFFF#000000##000000
##5988CC1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8DCF
Deuteranopia (green-blind)
#5E82CB
Tritanopia (blue-blind)
#0097A1
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5988cc;
/* rgb */ color: rgb(89, 136, 204);
/* oklch */ color: oklch(62.3% 0.116 257.6);
Tailwind
colors: {
  custom: {
    50: '#90aadc',
    500: '#5988cc',
    950: '#000000',
  },
}
SCSS
$custom: #5988cc;
$custom-light: #90aadc;
$custom-dark: #000000;
JSON
{
  "hex": "#5988cc",
  "rgb": {
    "r": 89,
    "g": 136,
    "b": 204
  },
  "hsl": {
    "h": 215.478,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.62315,
    "c": 0.11557,
    "h": 257.6
  },
  "luminance": 0.24092
}

Semantic roles & 50–950 ramp

primary
#5988CC
secondary
#D8C5A9
accent
#A14BDC
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D1015
muted
#7E7F83

Preview Lab

Preview with #5988CC

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

Preview Lab → · Contrast checker → · Palette generator →

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