#5872CF#5872CF

#5872CF is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.8% C 0.146 H 269.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#5872CF
RGBrgb(88, 114, 207)
HSLhsl(227, 55%, 58%)
HSVhsv(227, 57%, 81%)
CMYKcmyk(57.5%, 44.9%, 0%, 18.8%)
CIE-LABlab(50.23, 18.23, -51.12)
CIE-LCHlch(50.23, 54.28, 289.62°)
OKLaboklab(57.76% -0.0009 -0.1457)
OKLCHoklch(57.76% 0.146 269.6)
XYZxyz(21.3005, 18.6127, 61.4895)
Luminance0.1861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5872CF #CFB558
analogous
#58ADCF #5872CF #7958CF
triadic
#5872CF #CF5872 #72CF58
tetradic
#5872CF #CF58AD #CFB558 #58CF79
square
#5872CF #CF58AD #CFB558 #58CF79
split-complementary
#5872CF #CF7958 #ADCF58
monochromatic
#273B86 #3450B6 #5872CF #889ADD #B7C2EA

Accessibility & contrast

On white

4.45
#5872CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#5872CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5872CF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5872CF#FFFFFF#000000##000000
##5872CF1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#487DD2
Deuteranopia (green-blind)
#3773CD
Tritanopia (blue-blind)
#008796
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5872cf;
/* rgb */ color: rgb(88, 114, 207);
/* oklch */ color: oklch(57.8% 0.146 269.6);
Tailwind
colors: {
  custom: {
    50: '#909ade',
    500: '#5872cf',
    950: '#000000',
  },
}
SCSS
$custom: #5872cf;
$custom-light: #909ade;
$custom-dark: #000000;
JSON
{
  "hex": "#5872cf",
  "rgb": {
    "r": 88,
    "g": 114,
    "b": 207
  },
  "hsl": {
    "h": 226.891,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57757,
    "c": 0.14568,
    "h": 269.6
  },
  "luminance": 0.18614
}

Semantic roles & 50–950 ramp

primary
#5872CF
secondary
#D9CFAA
accent
#BE49DF
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5872CF

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

Preview Lab → · Contrast checker → · Palette generator →

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