#5873E9#5873E9

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

Color values

HEX#5873E9
RGBrgb(88, 115, 233)
HSLhsl(229, 77%, 63%)
HSVhsv(229, 62%, 91%)
CMYKcmyk(62.2%, 50.6%, 0%, 8.6%)
CIE-LABlab(52.08, 26.30, -62.84)
CIE-LCHlch(52.08, 68.12, 292.71°)
OKLaboklab(59.68% 0.0013 -0.1801)
OKLCHoklch(59.68% 0.18 270.4)
XYZxyz(24.8583, 20.2172, 79.6673)
Luminance0.2022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5873E9 #E9CE58
analogous
#58BBE9 #5873E9 #8658E9
triadic
#5873E9 #E95873 #73E958
tetradic
#5873E9 #E958BB #E9CE58 #58E986
square
#5873E9 #E958BB #E9CE58 #58E986
split-complementary
#5873E9 #E98658 #BBE958
monochromatic
#1733AF #2246E2 #5873E9 #8EA0F0 #C4CEF7

Accessibility & contrast

On white

4.16
#5873E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#5873E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5873E9
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5873E9#FFFFFF#000000##000000
##5873E91.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F83ED
Deuteranopia (green-blind)
#0076E7
Tritanopia (blue-blind)
#008EA3
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5873e9;
/* rgb */ color: rgb(88, 115, 233);
/* oklch */ color: oklch(59.7% 0.180 270.4);
Tailwind
colors: {
  custom: {
    50: '#949af1',
    500: '#5873e9',
    950: '#000000',
  },
}
SCSS
$custom: #5873e9;
$custom-light: #949af1;
$custom-dark: #000000;
JSON
{
  "hex": "#5873e9",
  "rgb": {
    "r": 88,
    "g": 115,
    "b": 233
  },
  "hsl": {
    "h": 228.828,
    "s": 76.72,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59675,
    "c": 0.18011,
    "h": 270.4
  },
  "luminance": 0.20219
}

Semantic roles & 50–950 ramp

primary
#5873E9
secondary
#E8DFB4
accent
#B30DD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5873E9

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

Preview Lab → · Contrast checker → · Palette generator →

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