#5872BD#5872BD

#5872BD is a mid, vivid blue. Relative luminance 0.178; OKLCH L 56.7% C 0.120 H 268.0°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#5872BD
RGBrgb(88, 114, 189)
HSLhsl(225, 43%, 54%)
HSVhsv(225, 53%, 74%)
CMYKcmyk(53.4%, 39.7%, 0%, 25.9%)
CIE-LABlab(49.23, 12.33, -42.40)
CIE-LCHlch(49.23, 44.16, 286.22°)
OKLaboklab(56.67% -0.0042 -0.1201)
OKLCHoklch(56.67% 0.12 268)
XYZxyz(19.2241, 17.7821, 50.5535)
Luminance0.1778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5872BD #BDA358
analogous
#58A5BD #5872BD #7058BD
triadic
#5872BD #BD5872 #72BD58
tetradic
#5872BD #BD58A5 #BDA358 #58BD70
square
#5872BD #BD58A5 #BDA358 #58BD70
split-complementary
#5872BD #BD7058 #A5BD58
monochromatic
#2C3D6F #3D559B #5872BD #8497CE #B0BCE0

Accessibility & contrast

On white

4.61
#5872BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#5872BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5872BD
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5872BD#FFFFFF#000000##FFFFFF
##5872BD1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#547AC0
Deuteranopia (green-blind)
#4871BB
Tritanopia (blue-blind)
#25828E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5872bd;
/* rgb */ color: rgb(88, 114, 189);
/* oklch */ color: oklch(56.7% 0.120 268.0);
Tailwind
colors: {
  custom: {
    50: '#8e9ad1',
    500: '#5872bd',
    950: '#000000',
  },
}
SCSS
$custom: #5872bd;
$custom-light: #8e9ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#5872bd",
  "rgb": {
    "r": 88,
    "g": 114,
    "b": 189
  },
  "hsl": {
    "h": 224.554,
    "s": 43.348,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56665,
    "c": 0.12019,
    "h": 268
  },
  "luminance": 0.17783
}

Semantic roles & 50–950 ramp

primary
#5872BD
secondary
#CEC3A3
accent
#B355D3
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5872BD

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

Preview Lab → · Contrast checker → · Palette generator →

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