#5881BD#5881BD

#5881BD is a mid, moderate blue. Relative luminance 0.214; OKLCH L 59.9% C 0.103 H 257.8°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5881BD
RGBrgb(88, 129, 189)
HSLhsl(216, 43%, 54%)
HSVhsv(216, 53%, 74%)
CMYKcmyk(53.4%, 31.7%, 0%, 25.9%)
CIE-LABlab(53.44, 3.25, -35.77)
CIE-LCHlch(53.44, 35.92, 275.19°)
OKLaboklab(59.93% -0.0218 -0.1007)
OKLCHoklch(59.93% 0.103 257.8)
XYZxyz(21.0569, 21.4477, 51.1645)
Luminance0.2145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5881BD #BD9458
analogous
#58B4BD #5881BD #6258BD
triadic
#5881BD #BD5881 #81BD58
tetradic
#5881BD #BD58B4 #BD9458 #58BD62
square
#5881BD #BD58B4 #BD9458 #58BD62
split-complementary
#5881BD #BD6258 #B4BD58
monochromatic
#2C476F #3D639B #5881BD #84A2CE #B0C3E0

Accessibility & contrast

On white

3.97
#5881BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#5881BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5881BD
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5881BD#FFFFFF#000000##000000
##5881BD1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6985C0
Deuteranopia (green-blind)
#5D7BBC
Tritanopia (blue-blind)
#208E96
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5881bd;
/* rgb */ color: rgb(88, 129, 189);
/* oklch */ color: oklch(59.9% 0.103 257.8);
Tailwind
colors: {
  custom: {
    50: '#8ea5d1',
    500: '#5881bd',
    950: '#000000',
  },
}
SCSS
$custom: #5881bd;
$custom-light: #8ea5d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5881bd",
  "rgb": {
    "r": 88,
    "g": 129,
    "b": 189
  },
  "hsl": {
    "h": 215.644,
    "s": 43.348,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59928,
    "c": 0.10301,
    "h": 257.8
  },
  "luminance": 0.21449
}

Semantic roles & 50–950 ramp

primary
#5881BD
secondary
#CEBCA3
accent
#A055D3
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5881BD

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

Preview Lab → · Contrast checker → · Palette generator →

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