#5873DF#5873DF

#5873DF is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.0% C 0.167 H 270.1°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#5873DF
RGBrgb(88, 115, 223)
HSLhsl(228, 68%, 61%)
HSVhsv(228, 61%, 87%)
CMYKcmyk(60.5%, 48.4%, 0%, 12.5%)
CIE-LABlab(51.45, 22.94, -58.23)
CIE-LCHlch(51.45, 62.59, 291.50°)
OKLaboklab(59% 0.0002 -0.1666)
OKLCHoklch(59% 0.167 270.1)
XYZxyz(23.4700, 19.6619, 72.3560)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5873DF #DFC458
analogous
#58B6DF #5873DF #8058DF
triadic
#5873DF #DF5873 #73DF58
tetradic
#5873DF #DF58B6 #DFC458 #58DF80
square
#5873DF #DF58B6 #DFC458 #58DF80
split-complementary
#5873DF #DF8058 #B6DF58
monochromatic
#1E389E #284AD2 #5873DF #8B9EE9 #BFC9F3

Accessibility & contrast

On white

4.26
#5873DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#5873DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5873DF
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5873DF#FFFFFF#000000##000000
##5873DF1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B81E3
Deuteranopia (green-blind)
#2175DD
Tritanopia (blue-blind)
#008C9E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5873df;
/* rgb */ color: rgb(88, 115, 223);
/* oklch */ color: oklch(59.0% 0.167 270.1);
Tailwind
colors: {
  custom: {
    50: '#939aea',
    500: '#5873df',
    950: '#000000',
  },
}
SCSS
$custom: #5873df;
$custom-light: #939aea;
$custom-dark: #000000;
JSON
{
  "hex": "#5873df",
  "rgb": {
    "r": 88,
    "g": 115,
    "b": 223
  },
  "hsl": {
    "h": 228,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58997,
    "c": 0.16656,
    "h": 270.1
  },
  "luminance": 0.19664
}

Semantic roles & 50–950 ramp

primary
#5873DF
secondary
#E3D9B0
accent
#AB16D0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5873DF

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

Preview Lab → · Contrast checker → · Palette generator →

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