#5873CE#5873CE

#5873CE is a mid, vivid blue. Relative luminance 0.188; OKLCH L 57.9% C 0.143 H 269.1°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#5873CE
RGBrgb(88, 115, 206)
HSLhsl(226, 55%, 58%)
HSVhsv(226, 57%, 81%)
CMYKcmyk(57.3%, 44.2%, 0%, 19.2%)
CIE-LABlab(50.44, 17.28, -50.22)
CIE-LCHlch(50.44, 53.11, 288.99°)
OKLaboklab(57.9% -0.0021 -0.143)
OKLCHoklch(57.9% 0.143 269.1)
XYZxyz(21.2921, 18.7908, 60.8855)
Luminance0.1879 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5873CE #CEB358
analogous
#58AECE #5873CE #7858CE
triadic
#5873CE #CE5873 #73CE58
tetradic
#5873CE #CE58AE #CEB358 #58CE78
square
#5873CE #CE58AE #CEB358 #58CE78
split-complementary
#5873CE #CE7858 #AECE58
monochromatic
#273C85 #3552B4 #5873CE #879BDC #B7C2EA

Accessibility & contrast

On white

4.41
#5873CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#5873CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5873CE
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5873CE#FFFFFF#000000##000000
##5873CE1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7ED1
Deuteranopia (green-blind)
#3A73CC
Tritanopia (blue-blind)
#008796
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5873ce;
/* rgb */ color: rgb(88, 115, 206);
/* oklch */ color: oklch(57.9% 0.143 269.1);
Tailwind
colors: {
  custom: {
    50: '#909add',
    500: '#5873ce',
    950: '#000000',
  },
}
SCSS
$custom: #5873ce;
$custom-light: #909add;
$custom-dark: #000000;
JSON
{
  "hex": "#5873ce",
  "rgb": {
    "r": 88,
    "g": 115,
    "b": 206
  },
  "hsl": {
    "h": 226.271,
    "s": 54.63,
    "l": 57.647
  },
  "oklch": {
    "l": 0.579,
    "c": 0.14303,
    "h": 269.1
  },
  "luminance": 0.18792
}

Semantic roles & 50–950 ramp

primary
#5873CE
secondary
#D9CEA9
accent
#BC4ADE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5873CE

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

Preview Lab → · Contrast checker → · Palette generator →

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