#5873DD#5873DD

#5873DD is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.9% C 0.164 H 270.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5873DD
RGBrgb(88, 115, 221)
HSLhsl(228, 66%, 61%)
HSVhsv(228, 60%, 87%)
CMYKcmyk(60.2%, 48%, 0%, 13.3%)
CIE-LABlab(51.33, 22.27, -57.30)
CIE-LCHlch(51.33, 61.48, 291.24°)
OKLaboklab(58.86% 0 -0.1638)
OKLCHoklch(58.86% 0.164 270)
XYZxyz(23.2020, 19.5547, 70.9443)
Luminance0.1956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5873DD #DDC258
analogous
#58B5DD #5873DD #8058DD
triadic
#5873DD #DD5873 #73DD58
tetradic
#5873DD #DD58B5 #DDC258 #58DD80
square
#5873DD #DD58B5 #DDC258 #58DD80
split-complementary
#5873DD #DD8058 #B5DD58
monochromatic
#20399B #2A4BCE #5873DD #8B9EE7 #BEC8F2

Accessibility & contrast

On white

4.28
#5873DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#5873DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5873DD
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5873DD#FFFFFF#000000##000000
##5873DD1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D81E1
Deuteranopia (green-blind)
#2575DB
Tritanopia (blue-blind)
#008B9D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5873dd;
/* rgb */ color: rgb(88, 115, 221);
/* oklch */ color: oklch(58.9% 0.164 270.0);
Tailwind
colors: {
  custom: {
    50: '#929ae8',
    500: '#5873dd',
    950: '#000000',
  },
}
SCSS
$custom: #5873dd;
$custom-light: #929ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#5873dd",
  "rgb": {
    "r": 88,
    "g": 115,
    "b": 221
  },
  "hsl": {
    "h": 227.82,
    "s": 66.169,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58864,
    "c": 0.16383,
    "h": 270
  },
  "luminance": 0.19557
}

Semantic roles & 50–950 ramp

primary
#5873DD
secondary
#E2D7AF
accent
#A917CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5873DD

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

Preview Lab → · Contrast checker → · Palette generator →

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