#5873F0#5873F0

#5873F0 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.2% C 0.189 H 270.6°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5873F0
RGBrgb(88, 115, 240)
HSLhsl(229, 84%, 64%)
HSVhsv(229, 63%, 94%)
CMYKcmyk(63.3%, 52.1%, 0%, 5.9%)
CIE-LABlab(52.54, 28.65, -66.02)
CIE-LCHlch(52.54, 71.96, 293.46°)
OKLaboklab(60.16% 0.0018 -0.1895)
OKLCHoklch(60.16% 0.189 270.6)
XYZxyz(25.8781, 20.6252, 85.0385)
Luminance0.2063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5873F0 #F0D558
analogous
#58BFF0 #5873F0 #8958F0
triadic
#5873F0 #F05873 #73F058
tetradic
#5873F0 #F058BF #F0D558 #58F089
square
#5873F0 #F058BF #F0D558 #58F089
split-complementary
#5873F0 #F08958 #BFF058
monochromatic
#112FBD #2044EB #5873F0 #90A2F5 #C8D1FA

Accessibility & contrast

On white

4.10
#5873F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#5873F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5873F0
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5873F0#FFFFFF#000000##000000
##5873F01.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2384F4
Deuteranopia (green-blind)
#0077ED
Tritanopia (blue-blind)
#0090A6
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5873f0;
/* rgb */ color: rgb(88, 115, 240);
/* oklch */ color: oklch(60.2% 0.189 270.6);
Tailwind
colors: {
  custom: {
    50: '#959af6',
    500: '#5873f0',
    950: '#000000',
  },
}
SCSS
$custom: #5873f0;
$custom-light: #959af6;
$custom-dark: #000000;
JSON
{
  "hex": "#5873f0",
  "rgb": {
    "r": 88,
    "g": 115,
    "b": 240
  },
  "hsl": {
    "h": 229.342,
    "s": 83.516,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60164,
    "c": 0.18948,
    "h": 270.6
  },
  "luminance": 0.20627
}

Semantic roles & 50–950 ramp

primary
#5873F0
secondary
#ECE3B8
accent
#B906E0
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5873F0

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

Preview Lab → · Contrast checker → · Palette generator →

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