#5873F8#5873F8

#5873F8 is a mid, highly saturated blue. Relative luminance 0.211; OKLCH L 60.7% C 0.200 H 270.7°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#5873F8
RGBrgb(88, 115, 248)
HSLhsl(230, 92%, 66%)
HSVhsv(230, 65%, 97%)
CMYKcmyk(64.5%, 53.6%, 0%, 2.7%)
CIE-LABlab(53.07, 31.34, -69.60)
CIE-LCHlch(53.07, 76.33, 294.24°)
OKLaboklab(60.73% 0.0023 -0.2)
OKLCHoklch(60.73% 0.2 270.7)
XYZxyz(27.0928, 21.1110, 91.4358)
Luminance0.2111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5873F8 #F8DD58
analogous
#58C3F8 #5873F8 #8D58F8
triadic
#5873F8 #F85873 #73F858
tetradic
#5873F8 #F858C3 #F8DD58 #58F88D
square
#5873F8 #F858C3 #F8DD58 #58F88D
split-complementary
#5873F8 #F88D58 #C3F858
monochromatic
#092ACD #1D42F6 #5873F8 #93A4FA #CDD5FD

Accessibility & contrast

On white

4.02
#5873F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#5873F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5873F8
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5873F8#FFFFFF#000000##000000
##5873F81.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A86FD
Deuteranopia (green-blind)
#0078F5
Tritanopia (blue-blind)
#0093AA
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5873f8;
/* rgb */ color: rgb(88, 115, 248);
/* oklch */ color: oklch(60.7% 0.200 270.7);
Tailwind
colors: {
  custom: {
    50: '#979bfb',
    500: '#5873f8',
    950: '#000000',
  },
}
SCSS
$custom: #5873f8;
$custom-light: #979bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#5873f8",
  "rgb": {
    "r": 88,
    "g": 115,
    "b": 248
  },
  "hsl": {
    "h": 229.875,
    "s": 91.954,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60735,
    "c": 0.20003,
    "h": 270.7
  },
  "luminance": 0.21113
}

Semantic roles & 50–950 ramp

primary
#5873F8
secondary
#F0E7BB
accent
#BF00E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E18
muted
#7F7E86

Preview Lab

Preview with #5873F8

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

Preview Lab → · Contrast checker → · Palette generator →

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