#5872CD#5872CD

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

Color values

HEX#5872CD
RGBrgb(88, 114, 205)
HSLhsl(227, 54%, 57%)
HSVhsv(227, 57%, 80%)
CMYKcmyk(57.1%, 44.4%, 0%, 19.6%)
CIE-LABlab(50.12, 17.57, -50.17)
CIE-LCHlch(50.12, 53.15, 289.30°)
OKLaboklab(57.63% -0.0012 -0.1429)
OKLCHoklch(57.63% 0.143 269.5)
XYZxyz(21.0576, 18.5155, 60.2100)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5872CD #CDB358
analogous
#58ACCD #5872CD #7958CD
triadic
#5872CD #CD5872 #72CD58
tetradic
#5872CD #CD58AC #CDB358 #58CD79
square
#5872CD #CD58AC #CDB358 #58CD79
split-complementary
#5872CD #CD7958 #ACCD58
monochromatic
#273C83 #3551B2 #5872CD #879ADB #B6C2E9

Accessibility & contrast

On white

4.46
#5872CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#5872CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5872CD
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5872CD#FFFFFF#000000##000000
##5872CD1.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#497DD0
Deuteranopia (green-blind)
#3972CB
Tritanopia (blue-blind)
#028695
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5872cd;
/* rgb */ color: rgb(88, 114, 205);
/* oklch */ color: oklch(57.6% 0.143 269.5);
Tailwind
colors: {
  custom: {
    50: '#909add',
    500: '#5872cd',
    950: '#000000',
  },
}
SCSS
$custom: #5872cd;
$custom-light: #909add;
$custom-dark: #000000;
JSON
{
  "hex": "#5872cd",
  "rgb": {
    "r": 88,
    "g": 114,
    "b": 205
  },
  "hsl": {
    "h": 226.667,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57632,
    "c": 0.14289,
    "h": 269.5
  },
  "luminance": 0.18517
}

Semantic roles & 50–950 ramp

primary
#5872CD
secondary
#D8CEA9
accent
#BD4BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5872CD

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

Preview Lab → · Contrast checker → · Palette generator →

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