#5872C0#5872C0

#5872C0 is a mid, vivid blue. Relative luminance 0.179; OKLCH L 56.8% C 0.124 H 268.4°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#5872C0
RGBrgb(88, 114, 192)
HSLhsl(225, 45%, 55%)
HSVhsv(225, 54%, 75%)
CMYKcmyk(54.2%, 40.6%, 0%, 24.7%)
CIE-LABlab(49.39, 13.30, -43.87)
CIE-LCHlch(49.39, 45.85, 286.87°)
OKLaboklab(56.84% -0.0036 -0.1244)
OKLCHoklch(56.84% 0.124 268.4)
XYZxyz(19.5531, 17.9137, 52.2863)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5872C0 #C0A658
analogous
#58A6C0 #5872C0 #7258C0
triadic
#5872C0 #C05872 #72C058
tetradic
#5872C0 #C058A6 #C0A658 #58C072
square
#5872C0 #C058A6 #C0A658 #58C072
split-complementary
#5872C0 #C07258 #A6C058
monochromatic
#2B3D72 #3C559F #5872C0 #8498D1 #B1BDE2

Accessibility & contrast

On white

4.58
#5872C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#5872C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5872C0
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5872C0#FFFFFF#000000##000000
##5872C01.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#527AC3
Deuteranopia (green-blind)
#4671BE
Tritanopia (blue-blind)
#218390
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5872c0;
/* rgb */ color: rgb(88, 114, 192);
/* oklch */ color: oklch(56.8% 0.124 268.4);
Tailwind
colors: {
  custom: {
    50: '#8e9ad3',
    500: '#5872c0',
    950: '#000000',
  },
}
SCSS
$custom: #5872c0;
$custom-light: #8e9ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#5872c0",
  "rgb": {
    "r": 88,
    "g": 114,
    "b": 192
  },
  "hsl": {
    "h": 225,
    "s": 45.217,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56841,
    "c": 0.12448,
    "h": 268.4
  },
  "luminance": 0.17915
}

Semantic roles & 50–950 ramp

primary
#5872C0
secondary
#D0C5A4
accent
#B453D5
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0E14
muted
#7E7E83

Preview Lab

Preview with #5872C0

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

Preview Lab → · Contrast checker → · Palette generator →

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