#5873E6#5873E6

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

Color values

HEX#5873E6
RGBrgb(88, 115, 230)
HSLhsl(229, 74%, 62%)
HSVhsv(229, 62%, 90%)
CMYKcmyk(61.7%, 50%, 0%, 9.8%)
CIE-LABlab(51.89, 25.29, -61.46)
CIE-LCHlch(51.89, 66.46, 292.36°)
OKLaboklab(59.47% 0.001 -0.1761)
OKLCHoklch(59.47% 0.176 270.3)
XYZxyz(24.4334, 20.0473, 77.4295)
Luminance0.2005 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5873E6 #E6CB58
analogous
#58BAE6 #5873E6 #8458E6
triadic
#5873E6 #E65873 #73E658
tetradic
#5873E6 #E658BA #E6CB58 #58E684
square
#5873E6 #E658BA #E6CB58 #58E684
split-complementary
#5873E6 #E68458 #BAE658
monochromatic
#1935AA #2346DE #5873E6 #8DA0EE #C2CCF6

Accessibility & contrast

On white

4.19
#5873E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#5873E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5873E6
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5873E6#FFFFFF#000000##000000
##5873E61.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3382EA
Deuteranopia (green-blind)
#0A76E4
Tritanopia (blue-blind)
#008EA2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5873e6;
/* rgb */ color: rgb(88, 115, 230);
/* oklch */ color: oklch(59.5% 0.176 270.3);
Tailwind
colors: {
  custom: {
    50: '#949aef',
    500: '#5873e6',
    950: '#000000',
  },
}
SCSS
$custom: #5873e6;
$custom-light: #949aef;
$custom-dark: #000000;
JSON
{
  "hex": "#5873e6",
  "rgb": {
    "r": 88,
    "g": 115,
    "b": 230
  },
  "hsl": {
    "h": 228.592,
    "s": 73.958,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59469,
    "c": 0.17607,
    "h": 270.3
  },
  "luminance": 0.20049
}

Semantic roles & 50–950 ramp

primary
#5873E6
secondary
#E7DDB3
accent
#B00FD6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5873E6

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

Preview Lab → · Contrast checker → · Palette generator →

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