#5873CA#5873CA

#5873CA is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.7% C 0.137 H 268.8°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#5873CA
RGBrgb(88, 115, 202)
HSLhsl(226, 52%, 57%)
HSVhsv(226, 56%, 79%)
CMYKcmyk(56.4%, 43.1%, 0%, 20.8%)
CIE-LABlab(50.21, 15.96, -48.30)
CIE-LCHlch(50.21, 50.87, 288.29°)
OKLaboklab(57.65% -0.0028 -0.1374)
OKLCHoklch(57.65% 0.137 268.8)
XYZxyz(20.8124, 18.5989, 58.3589)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5873CA #CAAF58
analogous
#58ACCA #5873CA #7658CA
triadic
#5873CA #CA5873 #73CA58
tetradic
#5873CA #CA58AC #CAAF58 #58CA76
square
#5873CA #CA58AC #CAAF58 #58CA76
split-complementary
#5873CA #CA7658 #ACCA58
monochromatic
#283D7F #3753AE #5873CA #869AD9 #B5C1E7

Accessibility & contrast

On white

4.45
#5873CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#5873CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5873CA
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5873CA#FFFFFF#000000##000000
##5873CA1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7DCD
Deuteranopia (green-blind)
#3E73C8
Tritanopia (blue-blind)
#0C8695
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5873ca;
/* rgb */ color: rgb(88, 115, 202);
/* oklch */ color: oklch(57.7% 0.137 268.8);
Tailwind
colors: {
  custom: {
    50: '#909ada',
    500: '#5873ca',
    950: '#000000',
  },
}
SCSS
$custom: #5873ca;
$custom-light: #909ada;
$custom-dark: #000000;
JSON
{
  "hex": "#5873ca",
  "rgb": {
    "r": 88,
    "g": 115,
    "b": 202
  },
  "hsl": {
    "h": 225.789,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57652,
    "c": 0.13741,
    "h": 268.8
  },
  "luminance": 0.186
}

Semantic roles & 50–950 ramp

primary
#5873CA
secondary
#D6CBA8
accent
#B94DDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5873CA

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

Preview Lab → · Contrast checker → · Palette generator →

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