#5872CC#5872CC

#5872CC is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.6% C 0.141 H 269.4°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#5872CC
RGBrgb(88, 114, 204)
HSLhsl(227, 53%, 57%)
HSVhsv(227, 57%, 80%)
CMYKcmyk(56.9%, 44.1%, 0%, 20%)
CIE-LABlab(50.06, 17.24, -49.69)
CIE-LCHlch(50.06, 52.59, 289.13°)
OKLaboklab(57.57% -0.0014 -0.1415)
OKLCHoklch(57.57% 0.141 269.4)
XYZxyz(20.9373, 18.4674, 59.5763)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5872CC #CCB258
analogous
#58ACCC #5872CC #7858CC
triadic
#5872CC #CC5872 #72CC58
tetradic
#5872CC #CC58AC #CCB258 #58CC78
square
#5872CC #CC58AC #CCB258 #58CC78
split-complementary
#5872CC #CC7858 #ACCC58
monochromatic
#283C82 #3652B1 #5872CC #879ADA #B6C1E9

Accessibility & contrast

On white

4.47
#5872CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#5872CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5872CC
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5872CC#FFFFFF#000000##000000
##5872CC1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7DCF
Deuteranopia (green-blind)
#3A72CA
Tritanopia (blue-blind)
#058695
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5872cc;
/* rgb */ color: rgb(88, 114, 204);
/* oklch */ color: oklch(57.6% 0.141 269.4);
Tailwind
colors: {
  custom: {
    50: '#909adc',
    500: '#5872cc',
    950: '#000000',
  },
}
SCSS
$custom: #5872cc;
$custom-light: #909adc;
$custom-dark: #000000;
JSON
{
  "hex": "#5872cc",
  "rgb": {
    "r": 88,
    "g": 114,
    "b": 204
  },
  "hsl": {
    "h": 226.552,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57569,
    "c": 0.14148,
    "h": 269.4
  },
  "luminance": 0.18469
}

Semantic roles & 50–950 ramp

primary
#5872CC
secondary
#D7CDA8
accent
#BC4BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5872CC

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

Preview Lab → · Contrast checker → · Palette generator →

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