#5873DE#5873DE

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

Color values

HEX#5873DE
RGBrgb(88, 115, 222)
HSLhsl(228, 67%, 61%)
HSVhsv(228, 60%, 87%)
CMYKcmyk(60.4%, 48.2%, 0%, 12.9%)
CIE-LABlab(51.39, 22.61, -57.77)
CIE-LCHlch(51.39, 62.03, 291.37°)
OKLaboklab(58.93% 0.0001 -0.1652)
OKLCHoklch(58.93% 0.165 270)
XYZxyz(23.3356, 19.6082, 71.6481)
Luminance0.1961 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5873DE #DEC358
analogous
#58B6DE #5873DE #8058DE
triadic
#5873DE #DE5873 #73DE58
tetradic
#5873DE #DE58B6 #DEC358 #58DE80
square
#5873DE #DE58B6 #DEC358 #58DE80
split-complementary
#5873DE #DE8058 #B6DE58
monochromatic
#1F389D #294BD0 #5873DE #8B9EE8 #BEC9F2

Accessibility & contrast

On white

4.27
#5873DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#5873DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5873DE
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5873DE#FFFFFF#000000##000000
##5873DE1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C81E2
Deuteranopia (green-blind)
#2375DC
Tritanopia (blue-blind)
#008B9E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5873de;
/* rgb */ color: rgb(88, 115, 222);
/* oklch */ color: oklch(58.9% 0.165 270.0);
Tailwind
colors: {
  custom: {
    50: '#939ae9',
    500: '#5873de',
    950: '#000000',
  },
}
SCSS
$custom: #5873de;
$custom-light: #939ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#5873de",
  "rgb": {
    "r": 88,
    "g": 115,
    "b": 222
  },
  "hsl": {
    "h": 227.91,
    "s": 67,
    "l": 60.784
  },
  "oklch": {
    "l": 0.5893,
    "c": 0.1652,
    "h": 270
  },
  "luminance": 0.1961
}

Semantic roles & 50–950 ramp

primary
#5873DE
secondary
#E2D8B0
accent
#AA17CF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5873DE

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

Preview Lab → · Contrast checker → · Palette generator →

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