#5873CF#5873CF

#5873CF is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.0% C 0.144 H 269.2°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5873CF
RGBrgb(88, 115, 207)
HSLhsl(226, 55%, 58%)
HSVhsv(226, 57%, 81%)
CMYKcmyk(57.5%, 44.4%, 0%, 18.8%)
CIE-LABlab(50.50, 17.61, -50.69)
CIE-LCHlch(50.50, 53.67, 289.16°)
OKLaboklab(57.96% -0.002 -0.1444)
OKLCHoklch(57.96% 0.144 269.2)
XYZxyz(21.4140, 18.8395, 61.5273)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5873CF #CFB458
analogous
#58AECF #5873CF #7958CF
triadic
#5873CF #CF5873 #73CF58
tetradic
#5873CF #CF58AE #CFB458 #58CF79
square
#5873CF #CF58AE #CFB458 #58CF79
split-complementary
#5873CF #CF7958 #AECF58
monochromatic
#273C86 #3452B6 #5873CF #889BDD #B7C3EA

Accessibility & contrast

On white

4.40
#5873CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#5873CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5873CF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5873CF#FFFFFF#000000##000000
##5873CF1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#497ED2
Deuteranopia (green-blind)
#3973CD
Tritanopia (blue-blind)
#008797
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5873cf;
/* rgb */ color: rgb(88, 115, 207);
/* oklch */ color: oklch(58.0% 0.144 269.2);
Tailwind
colors: {
  custom: {
    50: '#909ade',
    500: '#5873cf',
    950: '#000000',
  },
}
SCSS
$custom: #5873cf;
$custom-light: #909ade;
$custom-dark: #000000;
JSON
{
  "hex": "#5873cf",
  "rgb": {
    "r": 88,
    "g": 115,
    "b": 207
  },
  "hsl": {
    "h": 226.387,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57962,
    "c": 0.14442,
    "h": 269.2
  },
  "luminance": 0.18841
}

Semantic roles & 50–950 ramp

primary
#5873CF
secondary
#D9CEAA
accent
#BD49DF
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5873CF

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

Preview Lab → · Contrast checker → · Palette generator →

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