#5872CB#5872CB

#5872CB is a mid, vivid blue. Relative luminance 0.184; OKLCH L 57.5% C 0.140 H 269.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#5872CB
RGBrgb(88, 114, 203)
HSLhsl(226, 53%, 57%)
HSVhsv(226, 57%, 80%)
CMYKcmyk(56.7%, 43.8%, 0%, 20.4%)
CIE-LABlab(50.00, 16.91, -49.21)
CIE-LCHlch(50.00, 52.03, 288.96°)
OKLaboklab(57.51% -0.0015 -0.1401)
OKLCHoklch(57.51% 0.14 269.4)
XYZxyz(20.8177, 18.4195, 58.9466)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5872CB #CBB158
analogous
#58ABCB #5872CB #7858CB
triadic
#5872CB #CB5872 #72CB58
tetradic
#5872CB #CB58AB #CBB158 #58CB78
square
#5872CB #CB58AB #CBB158 #58CB78
split-complementary
#5872CB #CB7858 #ABCB58
monochromatic
#283C81 #3752AF #5872CB #8799DA #B5C1E8

Accessibility & contrast

On white

4.48
#5872CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#5872CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5872CB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5872CB#FFFFFF#000000##000000
##5872CB1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7CCE
Deuteranopia (green-blind)
#3C72C9
Tritanopia (blue-blind)
#098694
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5872cb;
/* rgb */ color: rgb(88, 114, 203);
/* oklch */ color: oklch(57.5% 0.140 269.4);
Tailwind
colors: {
  custom: {
    50: '#909adb',
    500: '#5872cb',
    950: '#000000',
  },
}
SCSS
$custom: #5872cb;
$custom-light: #909adb;
$custom-dark: #000000;
JSON
{
  "hex": "#5872cb",
  "rgb": {
    "r": 88,
    "g": 114,
    "b": 203
  },
  "hsl": {
    "h": 226.435,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57507,
    "c": 0.14007,
    "h": 269.4
  },
  "luminance": 0.18421
}

Semantic roles & 50–950 ramp

primary
#5872CB
secondary
#D7CCA8
accent
#BB4CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5872CB

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

Preview Lab → · Contrast checker → · Palette generator →

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