#5876B1#5876B1

#5876B1 is a mid, moderate blue. Relative luminance 0.182; OKLCH L 56.9% C 0.098 H 263.1°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#5876B1
RGBrgb(88, 118, 177)
HSLhsl(220, 36%, 52%)
HSVhsv(220, 50%, 69%)
CMYKcmyk(50.3%, 33.3%, 0%, 30.6%)
CIE-LABlab(49.74, 6.06, -34.66)
CIE-LCHlch(49.74, 35.18, 279.91°)
OKLaboklab(56.86% -0.0118 -0.0975)
OKLCHoklch(56.86% 0.098 263.1)
XYZxyz(18.4361, 18.2046, 44.1288)
Luminance0.1821 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5876B1 #B19358
analogous
#58A3B1 #5876B1 #6658B1
triadic
#5876B1 #B15876 #76B158
tetradic
#5876B1 #B158A3 #B19358 #58B166
square
#5876B1 #B158A3 #B19358 #58B166
split-complementary
#5876B1 #B16658 #A3B158
monochromatic
#2D3F61 #415A8B #5876B1 #8298C4 #ABBAD8

Accessibility & contrast

On white

4.52
#5876B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#5876B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5876B1
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5876B1#FFFFFF#000000##000000
##5876B11.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7BB3
Deuteranopia (green-blind)
#5573B0
Tritanopia (blue-blind)
#30838B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5876b1;
/* rgb */ color: rgb(88, 118, 177);
/* oklch */ color: oklch(56.9% 0.098 263.1);
Tailwind
colors: {
  custom: {
    50: '#8c9dc8',
    500: '#5876b1',
    950: '#000000',
  },
}
SCSS
$custom: #5876b1;
$custom-light: #8c9dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#5876b1",
  "rgb": {
    "r": 88,
    "g": 118,
    "b": 177
  },
  "hsl": {
    "h": 219.775,
    "s": 36.327,
    "l": 51.961
  },
  "oklch": {
    "l": 0.56864,
    "c": 0.09824,
    "h": 263.1
  },
  "luminance": 0.18206
}

Semantic roles & 50–950 ramp

primary
#5876B1
secondary
#C6B99F
accent
#A65BCC
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #5876B1

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

Preview Lab → · Contrast checker → · Palette generator →

#5876B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva