#5876BE#5876BE

#5876BE is a mid, moderate blue. Relative luminance 0.187; OKLCH L 57.6% C 0.117 H 265.8°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5876BE
RGBrgb(88, 118, 190)
HSLhsl(222, 44%, 55%)
HSVhsv(222, 54%, 75%)
CMYKcmyk(53.7%, 37.9%, 0%, 25.5%)
CIE-LABlab(50.39, 10.20, -41.14)
CIE-LCHlch(50.39, 42.39, 283.93°)
OKLaboklab(57.58% -0.0086 -0.1164)
OKLCHoklch(57.58% 0.117 265.8)
XYZxyz(19.7941, 18.7478, 51.2808)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5876BE #BEA058
analogous
#58A9BE #5876BE #6D58BE
triadic
#5876BE #BE5876 #76BE58
tetradic
#5876BE #BE58A9 #BEA058 #58BE6D
square
#5876BE #BE58A9 #BEA058 #58BE6D
split-complementary
#5876BE #BE6D58 #A9BE58
monochromatic
#2C4070 #3D599C #5876BE #849ACF #B0BEE0

Accessibility & contrast

On white

4.42
#5876BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#5876BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5876BE
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5876BE#FFFFFF#000000##000000
##5876BE1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#597DC1
Deuteranopia (green-blind)
#4D74BC
Tritanopia (blue-blind)
#238691
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5876be;
/* rgb */ color: rgb(88, 118, 190);
/* oklch */ color: oklch(57.6% 0.117 265.8);
Tailwind
colors: {
  custom: {
    50: '#8e9dd2',
    500: '#5876be',
    950: '#000000',
  },
}
SCSS
$custom: #5876be;
$custom-light: #8e9dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5876be",
  "rgb": {
    "r": 88,
    "g": 118,
    "b": 190
  },
  "hsl": {
    "h": 222.353,
    "s": 43.966,
    "l": 54.51
  },
  "oklch": {
    "l": 0.57578,
    "c": 0.11672,
    "h": 265.8
  },
  "luminance": 0.18749
}

Semantic roles & 50–950 ramp

primary
#5876BE
secondary
#CEC2A3
accent
#AE54D4
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5876BE

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

Preview Lab → · Contrast checker → · Palette generator →

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