#5873EE#5873EE

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

Color values

HEX#5873EE
RGBrgb(88, 115, 238)
HSLhsl(229, 82%, 64%)
HSVhsv(229, 63%, 93%)
CMYKcmyk(63%, 51.7%, 0%, 6.7%)
CIE-LABlab(52.41, 27.98, -65.11)
CIE-LCHlch(52.41, 70.87, 293.25°)
OKLaboklab(60.02% 0.0017 -0.1868)
OKLCHoklch(60.02% 0.187 270.5)
XYZxyz(25.5826, 20.5070, 83.4824)
Luminance0.2051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5873EE #EED358
analogous
#58BEEE #5873EE #8858EE
triadic
#5873EE #EE5873 #73EE58
tetradic
#5873EE #EE58BE #EED358 #58EE88
square
#5873EE #EE58BE #EED358 #58EE88
split-complementary
#5873EE #EE8858 #BEEE58
monochromatic
#1331B9 #2044E8 #5873EE #90A2F4 #C7D0F9

Accessibility & contrast

On white

4.12
#5873EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#5873EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5873EE
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5873EE#FFFFFF#000000##000000
##5873EE1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2784F2
Deuteranopia (green-blind)
#0077EB
Tritanopia (blue-blind)
#0090A6
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5873ee;
/* rgb */ color: rgb(88, 115, 238);
/* oklch */ color: oklch(60.0% 0.187 270.5);
Tailwind
colors: {
  custom: {
    50: '#959af4',
    500: '#5873ee',
    950: '#000000',
  },
}
SCSS
$custom: #5873ee;
$custom-light: #959af4;
$custom-dark: #000000;
JSON
{
  "hex": "#5873ee",
  "rgb": {
    "r": 88,
    "g": 115,
    "b": 238
  },
  "hsl": {
    "h": 229.2,
    "s": 81.522,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60023,
    "c": 0.18682,
    "h": 270.5
  },
  "luminance": 0.20509
}

Semantic roles & 50–950 ramp

primary
#5873EE
secondary
#EBE2B7
accent
#B708DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5873EE

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

Preview Lab → · Contrast checker → · Palette generator →

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