#5881BF#5881BF

#5881BF is a mid, moderate blue. Relative luminance 0.215; OKLCH L 60.0% C 0.106 H 258.4°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#5881BF
RGBrgb(88, 129, 191)
HSLhsl(216, 45%, 55%)
HSVhsv(216, 54%, 75%)
CMYKcmyk(53.9%, 32.5%, 0%, 25.1%)
CIE-LABlab(53.53, 3.89, -36.77)
CIE-LCHlch(53.53, 36.97, 276.04°)
OKLaboklab(60.03% -0.0212 -0.1036)
OKLCHoklch(60.03% 0.106 258.4)
XYZxyz(21.2755, 21.5352, 52.3157)
Luminance0.2154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5881BF #BF9658
analogous
#58B4BF #5881BF #6358BF
triadic
#5881BF #BF5881 #81BF58
tetradic
#5881BF #BF58B4 #BF9658 #58BF63
square
#5881BF #BF58B4 #BF9658 #58BF63
split-complementary
#5881BF #BF6358 #B4BF58
monochromatic
#2B4771 #3C639D #5881BF #84A2D0 #B0C4E1

Accessibility & contrast

On white

3.96
#5881BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#5881BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5881BF
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5881BF#FFFFFF#000000##000000
##5881BF1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6885C2
Deuteranopia (green-blind)
#5C7BBE
Tritanopia (blue-blind)
#1D8F97
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5881bf;
/* rgb */ color: rgb(88, 129, 191);
/* oklch */ color: oklch(60.0% 0.106 258.4);
Tailwind
colors: {
  custom: {
    50: '#8ea5d2',
    500: '#5881bf',
    950: '#000000',
  },
}
SCSS
$custom: #5881bf;
$custom-light: #8ea5d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5881bf",
  "rgb": {
    "r": 88,
    "g": 129,
    "b": 191
  },
  "hsl": {
    "h": 216.117,
    "s": 44.589,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60032,
    "c": 0.10573,
    "h": 258.4
  },
  "luminance": 0.21537
}

Semantic roles & 50–950 ramp

primary
#5881BF
secondary
#CFBEA4
accent
#A154D4
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5881BF

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

Preview Lab → · Contrast checker → · Palette generator →

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