#5873C8#5873C8

#5873C8 is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.5% C 0.135 H 268.7°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#5873C8
RGBrgb(88, 115, 200)
HSLhsl(226, 50%, 56%)
HSVhsv(226, 56%, 78%)
CMYKcmyk(56%, 42.5%, 0%, 21.6%)
CIE-LABlab(50.10, 15.30, -47.33)
CIE-LCHlch(50.10, 49.74, 287.92°)
OKLaboklab(57.53% -0.0032 -0.1345)
OKLCHoklch(57.53% 0.135 268.7)
XYZxyz(20.5771, 18.5048, 57.1198)
Luminance0.1851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5873C8 #C8AD58
analogous
#58ABC8 #5873C8 #7558C8
triadic
#5873C8 #C85873 #73C858
tetradic
#5873C8 #C858AB #C8AD58 #58C875
square
#5873C8 #C858AB #C8AD58 #58C875
split-complementary
#5873C8 #C87558 #ABC858
monochromatic
#293D7D #3854AB #5873C8 #869AD7 #B4C0E6

Accessibility & contrast

On white

4.47
#5873C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#5873C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5873C8
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5873C8#FFFFFF#000000##000000
##5873C81.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7CCB
Deuteranopia (green-blind)
#4073C6
Tritanopia (blue-blind)
#128694
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5873c8;
/* rgb */ color: rgb(88, 115, 200);
/* oklch */ color: oklch(57.5% 0.135 268.7);
Tailwind
colors: {
  custom: {
    50: '#8f9ad9',
    500: '#5873c8',
    950: '#000000',
  },
}
SCSS
$custom: #5873c8;
$custom-light: #8f9ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#5873c8",
  "rgb": {
    "r": 88,
    "g": 115,
    "b": 200
  },
  "hsl": {
    "h": 225.536,
    "s": 50.45,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5753,
    "c": 0.13459,
    "h": 268.7
  },
  "luminance": 0.18506
}

Semantic roles & 50–950 ramp

primary
#5873C8
secondary
#D5CAA7
accent
#B84EDA
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5873C8

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

Preview Lab → · Contrast checker → · Palette generator →

#5873C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva