#5872BC#5872BC

#5872BC is a mid, moderate blue. Relative luminance 0.177; OKLCH L 56.6% C 0.119 H 267.9°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#5872BC
RGBrgb(88, 114, 188)
HSLhsl(224, 43%, 54%)
HSVhsv(224, 53%, 74%)
CMYKcmyk(53.2%, 39.4%, 0%, 26.3%)
CIE-LABlab(49.18, 12.01, -41.91)
CIE-LCHlch(49.18, 43.59, 285.99°)
OKLaboklab(56.61% -0.0044 -0.1187)
OKLCHoklch(56.61% 0.119 267.9)
XYZxyz(19.1159, 17.7388, 49.9838)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5872BC #BCA258
analogous
#58A4BC #5872BC #7058BC
triadic
#5872BC #BC5872 #72BC58
tetradic
#5872BC #BC58A4 #BCA258 #58BC70
square
#5872BC #BC58A4 #BCA258 #58BC70
split-complementary
#5872BC #BC7058 #A4BC58
monochromatic
#2C3D6E #3E5599 #5872BC #8497CE #AFBCDF

Accessibility & contrast

On white

4.62
#5872BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#5872BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5872BC
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5872BC#FFFFFF#000000##FFFFFF
##5872BC1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#547ABF
Deuteranopia (green-blind)
#4971BA
Tritanopia (blue-blind)
#26828E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5872bc;
/* rgb */ color: rgb(88, 114, 188);
/* oklch */ color: oklch(56.6% 0.119 267.9);
Tailwind
colors: {
  custom: {
    50: '#8e9ad0',
    500: '#5872bc',
    950: '#000000',
  },
}
SCSS
$custom: #5872bc;
$custom-light: #8e9ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#5872bc",
  "rgb": {
    "r": 88,
    "g": 114,
    "b": 188
  },
  "hsl": {
    "h": 224.4,
    "s": 42.735,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56607,
    "c": 0.11876,
    "h": 267.9
  },
  "luminance": 0.1774
}

Semantic roles & 50–950 ramp

primary
#5872BC
secondary
#CDC2A3
accent
#B255D3
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5872BC

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

Preview Lab → · Contrast checker → · Palette generator →

#5872BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva