#5881C8#5881C8

#5881C8 is a mid, moderate blue. Relative luminance 0.219; OKLCH L 60.5% C 0.118 H 260.8°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#5881C8
RGBrgb(88, 129, 200)
HSLhsl(218, 50%, 56%)
HSVhsv(218, 56%, 78%)
CMYKcmyk(56%, 35.5%, 0%, 21.6%)
CIE-LABlab(53.97, 6.79, -41.21)
CIE-LCHlch(53.97, 41.76, 279.35°)
OKLaboklab(60.52% -0.0189 -0.1165)
OKLCHoklch(60.52% 0.118 260.8)
XYZxyz(22.2965, 21.9436, 57.6930)
Luminance0.2195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5881C8 #C89F58
analogous
#58B9C8 #5881C8 #6758C8
triadic
#5881C8 #C85881 #81C858
tetradic
#5881C8 #C858B9 #C89F58 #58C867
square
#5881C8 #C858B9 #C89F58 #58C867
split-complementary
#5881C8 #C86758 #B9C858
monochromatic
#29487D #3862AB #5881C8 #86A4D7 #B4C6E6

Accessibility & contrast

On white

3.90
#5881C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#5881C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5881C8
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5881C8#FFFFFF#000000##000000
##5881C81.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6487CB
Deuteranopia (green-blind)
#567CC6
Tritanopia (blue-blind)
#08919B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5881c8;
/* rgb */ color: rgb(88, 129, 200);
/* oklch */ color: oklch(60.5% 0.118 260.8);
Tailwind
colors: {
  custom: {
    50: '#8fa5d9',
    500: '#5881c8',
    950: '#000000',
  },
}
SCSS
$custom: #5881c8;
$custom-light: #8fa5d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5881c8",
  "rgb": {
    "r": 88,
    "g": 129,
    "b": 200
  },
  "hsl": {
    "h": 218.036,
    "s": 50.45,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60516,
    "c": 0.11802,
    "h": 260.8
  },
  "luminance": 0.21945
}

Semantic roles & 50–950 ramp

primary
#5881C8
secondary
#D5C4A7
accent
#A74EDA
background
#F9FAFD
surface
#F1F4FA
border
#CBCED3
text
#0D0F14
muted
#7E7F83

Preview Lab

Preview with #5881C8

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

Preview Lab → · Contrast checker → · Palette generator →

#5881C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva