#5873ED#5873ED

#5873ED is a mid, vivid blue. Relative luminance 0.205; OKLCH L 60.0% C 0.185 H 270.5°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#5873ED
RGBrgb(88, 115, 237)
HSLhsl(229, 81%, 64%)
HSVhsv(229, 63%, 93%)
CMYKcmyk(62.9%, 51.5%, 0%, 7.1%)
CIE-LABlab(52.34, 27.64, -64.66)
CIE-LCHlch(52.34, 70.32, 293.15°)
OKLaboklab(59.95% 0.0016 -0.1855)
OKLCHoklch(59.95% 0.185 270.5)
XYZxyz(25.4361, 20.4484, 82.7108)
Luminance0.2045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5873ED #EDD258
analogous
#58BDED #5873ED #8758ED
triadic
#5873ED #ED5873 #73ED58
tetradic
#5873ED #ED58BD #EDD258 #58ED87
square
#5873ED #ED58BD #EDD258 #58ED87
split-complementary
#5873ED #ED8758 #BDED58
monochromatic
#1431B7 #2145E7 #5873ED #8FA1F3 #C6D0F9

Accessibility & contrast

On white

4.13
#5873ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#5873ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5873ED
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5873ED#FFFFFF#000000##000000
##5873ED1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2984F1
Deuteranopia (green-blind)
#0076EA
Tritanopia (blue-blind)
#0090A5
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5873ed;
/* rgb */ color: rgb(88, 115, 237);
/* oklch */ color: oklch(60.0% 0.185 270.5);
Tailwind
colors: {
  custom: {
    50: '#959af4',
    500: '#5873ed',
    950: '#000000',
  },
}
SCSS
$custom: #5873ed;
$custom-light: #959af4;
$custom-dark: #000000;
JSON
{
  "hex": "#5873ed",
  "rgb": {
    "r": 88,
    "g": 115,
    "b": 237
  },
  "hsl": {
    "h": 229.128,
    "s": 80.541,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59953,
    "c": 0.18548,
    "h": 270.5
  },
  "luminance": 0.20451
}

Semantic roles & 50–950 ramp

primary
#5873ED
secondary
#EBE1B6
accent
#B609DD
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5873ED

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

Preview Lab → · Contrast checker → · Palette generator →

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