#5873CC#5873CC

#5873CC is a mid, vivid blue. Relative luminance 0.187; OKLCH L 57.8% C 0.140 H 269.0°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#5873CC
RGBrgb(88, 115, 204)
HSLhsl(226, 53%, 57%)
HSVhsv(226, 57%, 80%)
CMYKcmyk(56.9%, 43.6%, 0%, 20%)
CIE-LABlab(50.33, 16.62, -49.26)
CIE-LCHlch(50.33, 51.99, 288.64°)
OKLaboklab(57.78% -0.0025 -0.1402)
OKLCHoklch(57.78% 0.14 269)
XYZxyz(21.0507, 18.6942, 59.6141)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5873CC #CCB158
analogous
#58ADCC #5873CC #7758CC
triadic
#5873CC #CC5873 #73CC58
tetradic
#5873CC #CC58AD #CCB158 #58CC77
square
#5873CC #CC58AD #CCB158 #58CC77
split-complementary
#5873CC #CC7758 #ADCC58
monochromatic
#283D82 #3653B1 #5873CC #879ADA #B6C2E9

Accessibility & contrast

On white

4.43
#5873CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#5873CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5873CC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5873CC#FFFFFF#000000##000000
##5873CC1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7DCF
Deuteranopia (green-blind)
#3C73CA
Tritanopia (blue-blind)
#058795
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5873cc;
/* rgb */ color: rgb(88, 115, 204);
/* oklch */ color: oklch(57.8% 0.140 269.0);
Tailwind
colors: {
  custom: {
    50: '#909adc',
    500: '#5873cc',
    950: '#000000',
  },
}
SCSS
$custom: #5873cc;
$custom-light: #909adc;
$custom-dark: #000000;
JSON
{
  "hex": "#5873cc",
  "rgb": {
    "r": 88,
    "g": 115,
    "b": 204
  },
  "hsl": {
    "h": 226.034,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57776,
    "c": 0.14022,
    "h": 269
  },
  "luminance": 0.18696
}

Semantic roles & 50–950 ramp

primary
#5873CC
secondary
#D7CCA8
accent
#BB4BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5873CC

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

Preview Lab → · Contrast checker → · Palette generator →

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