#5873D2#5873D2

#5873D2 is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.2% C 0.149 H 269.4°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5873D2
RGBrgb(88, 115, 210)
HSLhsl(227, 58%, 58%)
HSVhsv(227, 58%, 82%)
CMYKcmyk(58.1%, 45.2%, 0%, 17.6%)
CIE-LABlab(50.67, 18.61, -52.12)
CIE-LCHlch(50.67, 55.34, 289.64°)
OKLaboklab(58.15% -0.0015 -0.1486)
OKLCHoklch(58.15% 0.149 269.4)
XYZxyz(21.7842, 18.9876, 63.4773)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5873D2 #D2B758
analogous
#58B0D2 #5873D2 #7A58D2
triadic
#5873D2 #D25873 #73D258
tetradic
#5873D2 #D258B0 #D2B758 #58D27A
square
#5873D2 #D258B0 #D2B758 #58D27A
split-complementary
#5873D2 #D27A58 #B0D258
monochromatic
#253C8A #3250BB #5873D2 #889BDF #B8C4EC

Accessibility & contrast

On white

4.38
#5873D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#5873D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5873D2
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5873D2#FFFFFF#000000##000000
##5873D21.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#477ED6
Deuteranopia (green-blind)
#3674D0
Tritanopia (blue-blind)
#008898
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5873d2;
/* rgb */ color: rgb(88, 115, 210);
/* oklch */ color: oklch(58.2% 0.149 269.4);
Tailwind
colors: {
  custom: {
    50: '#919ae0',
    500: '#5873d2',
    950: '#000000',
  },
}
SCSS
$custom: #5873d2;
$custom-light: #919ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#5873d2",
  "rgb": {
    "r": 88,
    "g": 115,
    "b": 210
  },
  "hsl": {
    "h": 226.721,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58151,
    "c": 0.14862,
    "h": 269.4
  },
  "luminance": 0.18989
}

Semantic roles & 50–950 ramp

primary
#5873D2
secondary
#DBD0AB
accent
#BF47E1
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5873D2

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

Preview Lab → · Contrast checker → · Palette generator →

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