#5873E2#5873E2

#5873E2 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.2% C 0.171 H 270.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#5873E2
RGBrgb(88, 115, 226)
HSLhsl(228, 70%, 62%)
HSVhsv(228, 61%, 89%)
CMYKcmyk(61.1%, 49.1%, 0%, 11.4%)
CIE-LABlab(51.64, 23.95, -59.62)
CIE-LCHlch(51.64, 64.25, 291.88°)
OKLaboklab(59.2% 0.0006 -0.1706)
OKLCHoklch(59.2% 0.171 270.2)
XYZxyz(23.8781, 19.8252, 74.5051)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5873E2 #E2C758
analogous
#58B8E2 #5873E2 #8258E2
triadic
#5873E2 #E25873 #73E258
tetradic
#5873E2 #E258B8 #E2C758 #58E282
square
#5873E2 #E258B8 #E2C758 #58E282
split-complementary
#5873E2 #E28258 #B8E258
monochromatic
#1C37A3 #2548D7 #5873E2 #8C9FEB #C0CAF4

Accessibility & contrast

On white

4.23
#5873E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#5873E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5873E2
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5873E2#FFFFFF#000000##000000
##5873E21.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3882E6
Deuteranopia (green-blind)
#1975E0
Tritanopia (blue-blind)
#008CA0
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5873e2;
/* rgb */ color: rgb(88, 115, 226);
/* oklch */ color: oklch(59.2% 0.171 270.2);
Tailwind
colors: {
  custom: {
    50: '#939aec',
    500: '#5873e2',
    950: '#000000',
  },
}
SCSS
$custom: #5873e2;
$custom-light: #939aec;
$custom-dark: #000000;
JSON
{
  "hex": "#5873e2",
  "rgb": {
    "r": 88,
    "g": 115,
    "b": 226
  },
  "hsl": {
    "h": 228.261,
    "s": 70.408,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59198,
    "c": 0.17065,
    "h": 270.2
  },
  "luminance": 0.19827
}

Semantic roles & 50–950 ramp

primary
#5873E2
secondary
#E5DBB1
accent
#AD13D2
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5873E2

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

Preview Lab → · Contrast checker → · Palette generator →

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