#5872BB#5872BB

#5872BB is a mid, moderate blue. Relative luminance 0.177; OKLCH L 56.5% C 0.117 H 267.8°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#5872BB
RGBrgb(88, 114, 187)
HSLhsl(224, 42%, 54%)
HSVhsv(224, 53%, 73%)
CMYKcmyk(52.9%, 39%, 0%, 26.7%)
CIE-LABlab(49.13, 11.69, -41.41)
CIE-LCHlch(49.13, 43.03, 285.76°)
OKLaboklab(56.55% -0.0046 -0.1172)
OKLCHoklch(56.55% 0.117 267.8)
XYZxyz(19.0085, 17.6959, 49.4181)
Luminance0.1770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5872BB #BBA158
analogous
#58A4BB #5872BB #7058BB
triadic
#5872BB #BB5872 #72BB58
tetradic
#5872BB #BB58A4 #BBA158 #58BB70
square
#5872BB #BB58A4 #BBA158 #58BB70
split-complementary
#5872BB #BB7058 #A4BB58
monochromatic
#2C3D6C #3E5698 #5872BB #8397CD #AFBBDE

Accessibility & contrast

On white

4.63
#5872BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#5872BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5872BB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5872BB#FFFFFF#000000##FFFFFF
##5872BB1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5579BE
Deuteranopia (green-blind)
#4971B9
Tritanopia (blue-blind)
#28828D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5872bb;
/* rgb */ color: rgb(88, 114, 187);
/* oklch */ color: oklch(56.5% 0.117 267.8);
Tailwind
colors: {
  custom: {
    50: '#8d9ad0',
    500: '#5872bb',
    950: '#000000',
  },
}
SCSS
$custom: #5872bb;
$custom-light: #8d9ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#5872bb",
  "rgb": {
    "r": 88,
    "g": 114,
    "b": 187
  },
  "hsl": {
    "h": 224.242,
    "s": 42.128,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56549,
    "c": 0.11732,
    "h": 267.8
  },
  "luminance": 0.17697
}

Semantic roles & 50–950 ramp

primary
#5872BB
secondary
#CDC1A2
accent
#B156D2
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5872BB

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

Preview Lab → · Contrast checker → · Palette generator →

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