#5872CA#5872CA

#5872CA is a mid, vivid blue. Relative luminance 0.184; OKLCH L 57.4% C 0.139 H 269.3°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#5872CA
RGBrgb(88, 114, 202)
HSLhsl(226, 52%, 57%)
HSVhsv(226, 56%, 79%)
CMYKcmyk(56.4%, 43.6%, 0%, 20.8%)
CIE-LABlab(49.94, 16.58, -48.73)
CIE-LCHlch(49.94, 51.47, 288.79°)
OKLaboklab(57.45% -0.0017 -0.1386)
OKLCHoklch(57.45% 0.139 269.3)
XYZxyz(20.6989, 18.3720, 58.3211)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5872CA #CAB058
analogous
#58ABCA #5872CA #7758CA
triadic
#5872CA #CA5872 #72CA58
tetradic
#5872CA #CA58AB #CAB058 #58CA77
square
#5872CA #CA58AB #CAB058 #58CA77
split-complementary
#5872CA #CA7758 #ABCA58
monochromatic
#283C7F #3752AE #5872CA #8699D9 #B5C0E7

Accessibility & contrast

On white

4.49
#5872CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#5872CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5872CA
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5872CA#FFFFFF#000000##000000
##5872CA1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7CCD
Deuteranopia (green-blind)
#3D72C8
Tritanopia (blue-blind)
#0D8594
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5872ca;
/* rgb */ color: rgb(88, 114, 202);
/* oklch */ color: oklch(57.4% 0.139 269.3);
Tailwind
colors: {
  custom: {
    50: '#909ada',
    500: '#5872ca',
    950: '#000000',
  },
}
SCSS
$custom: #5872ca;
$custom-light: #909ada;
$custom-dark: #000000;
JSON
{
  "hex": "#5872ca",
  "rgb": {
    "r": 88,
    "g": 114,
    "b": 202
  },
  "hsl": {
    "h": 226.316,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57445,
    "c": 0.13866,
    "h": 269.3
  },
  "luminance": 0.18374
}

Semantic roles & 50–950 ramp

primary
#5872CA
secondary
#D6CCA8
accent
#BB4DDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5872CA

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

Preview Lab → · Contrast checker → · Palette generator →

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