#5873EF#5873EF

#5873EF is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.1% C 0.188 H 270.5°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#5873EF
RGBrgb(88, 115, 239)
HSLhsl(229, 83%, 64%)
HSVhsv(229, 63%, 94%)
CMYKcmyk(63.2%, 51.9%, 0%, 6.3%)
CIE-LABlab(52.47, 28.31, -65.56)
CIE-LCHlch(52.47, 71.42, 293.36°)
OKLaboklab(60.09% 0.0018 -0.1881)
OKLCHoklch(60.09% 0.188 270.5)
XYZxyz(25.7300, 20.5659, 84.2583)
Luminance0.2057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5873EF #EFD458
analogous
#58BEEF #5873EF #8958EF
triadic
#5873EF #EF5873 #73EF58
tetradic
#5873EF #EF58BE #EFD458 #58EF89
square
#5873EF #EF58BE #EFD458 #58EF89
split-complementary
#5873EF #EF8958 #BEEF58
monochromatic
#1230BB #2044EA #5873EF #90A2F4 #C8D1FA

Accessibility & contrast

On white

4.11
#5873EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#5873EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5873EF
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5873EF#FFFFFF#000000##000000
##5873EF1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2584F3
Deuteranopia (green-blind)
#0077EC
Tritanopia (blue-blind)
#0090A6
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5873ef;
/* rgb */ color: rgb(88, 115, 239);
/* oklch */ color: oklch(60.1% 0.188 270.5);
Tailwind
colors: {
  custom: {
    50: '#959af5',
    500: '#5873ef',
    950: '#000000',
  },
}
SCSS
$custom: #5873ef;
$custom-light: #959af5;
$custom-dark: #000000;
JSON
{
  "hex": "#5873ef",
  "rgb": {
    "r": 88,
    "g": 115,
    "b": 239
  },
  "hsl": {
    "h": 229.272,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60093,
    "c": 0.18815,
    "h": 270.5
  },
  "luminance": 0.20568
}

Semantic roles & 50–950 ramp

primary
#5873EF
secondary
#ECE2B7
accent
#B807DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5873EF

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

Preview Lab → · Contrast checker → · Palette generator →

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