#5873E5#5873E5

#5873E5 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.4% C 0.175 H 270.3°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#5873E5
RGBrgb(88, 115, 229)
HSLhsl(229, 73%, 62%)
HSVhsv(229, 62%, 90%)
CMYKcmyk(61.6%, 49.8%, 0%, 10.2%)
CIE-LABlab(51.83, 24.95, -61.00)
CIE-LCHlch(51.83, 65.91, 292.25°)
OKLaboklab(59.4% 0.0009 -0.1747)
OKLCHoklch(59.4% 0.175 270.3)
XYZxyz(24.2933, 19.9913, 76.6920)
Luminance0.1999 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5873E5 #E5CA58
analogous
#58B9E5 #5873E5 #8458E5
triadic
#5873E5 #E55873 #73E558
tetradic
#5873E5 #E558B9 #E5CA58 #58E584
square
#5873E5 #E558B9 #E5CA58 #58E584
split-complementary
#5873E5 #E58458 #B9E558
monochromatic
#1A35A8 #2347DD #5873E5 #8D9FED #C2CCF5

Accessibility & contrast

On white

4.20
#5873E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#5873E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5873E5
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5873E5#FFFFFF#000000##000000
##5873E51.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3482E9
Deuteranopia (green-blind)
#0F76E3
Tritanopia (blue-blind)
#008DA1
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5873e5;
/* rgb */ color: rgb(88, 115, 229);
/* oklch */ color: oklch(59.4% 0.175 270.3);
Tailwind
colors: {
  custom: {
    50: '#949aee',
    500: '#5873e5',
    950: '#000000',
  },
}
SCSS
$custom: #5873e5;
$custom-light: #949aee;
$custom-dark: #000000;
JSON
{
  "hex": "#5873e5",
  "rgb": {
    "r": 88,
    "g": 115,
    "b": 229
  },
  "hsl": {
    "h": 228.511,
    "s": 73.057,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59401,
    "c": 0.17472,
    "h": 270.3
  },
  "luminance": 0.19993
}

Semantic roles & 50–950 ramp

primary
#5873E5
secondary
#E6DCB3
accent
#AF10D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5873E5

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

Preview Lab → · Contrast checker → · Palette generator →

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