#5873E8#5873E8

#5873E8 is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.6% C 0.179 H 270.4°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5873E8
RGBrgb(88, 115, 232)
HSLhsl(229, 76%, 63%)
HSVhsv(229, 62%, 91%)
CMYKcmyk(62.1%, 50.4%, 0%, 9%)
CIE-LABlab(52.02, 25.96, -62.38)
CIE-LCHlch(52.02, 67.57, 292.60°)
OKLaboklab(59.61% 0.0012 -0.1788)
OKLCHoklch(59.61% 0.179 270.4)
XYZxyz(24.7158, 20.1602, 78.9171)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5873E8 #E8CD58
analogous
#58BBE8 #5873E8 #8558E8
triadic
#5873E8 #E85873 #73E858
tetradic
#5873E8 #E858BB #E8CD58 #58E885
square
#5873E8 #E858BB #E8CD58 #58E885
split-complementary
#5873E8 #E88558 #BBE858
monochromatic
#1834AE #2246E1 #5873E8 #8EA0EF #C4CDF7

Accessibility & contrast

On white

4.17
#5873E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#5873E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5873E8
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5873E8#FFFFFF#000000##000000
##5873E81.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3083EC
Deuteranopia (green-blind)
#0076E6
Tritanopia (blue-blind)
#008EA3
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5873e8;
/* rgb */ color: rgb(88, 115, 232);
/* oklch */ color: oklch(59.6% 0.179 270.4);
Tailwind
colors: {
  custom: {
    50: '#949af0',
    500: '#5873e8',
    950: '#000000',
  },
}
SCSS
$custom: #5873e8;
$custom-light: #949af0;
$custom-dark: #000000;
JSON
{
  "hex": "#5873e8",
  "rgb": {
    "r": 88,
    "g": 115,
    "b": 232
  },
  "hsl": {
    "h": 228.75,
    "s": 75.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.59606,
    "c": 0.17877,
    "h": 270.4
  },
  "luminance": 0.20162
}

Semantic roles & 50–950 ramp

primary
#5873E8
secondary
#E8DEB4
accent
#B20ED8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5873E8

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

Preview Lab → · Contrast checker → · Palette generator →

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