#5873DA#5873DA

#5873DA is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.7% C 0.160 H 269.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5873DA
RGBrgb(88, 115, 218)
HSLhsl(228, 64%, 60%)
HSVhsv(228, 60%, 85%)
CMYKcmyk(59.6%, 47.2%, 0%, 14.5%)
CIE-LABlab(51.15, 21.27, -55.90)
CIE-LCHlch(51.15, 59.81, 290.83°)
OKLaboklab(58.67% -0.0004 -0.1597)
OKLCHoklch(58.67% 0.16 269.9)
XYZxyz(22.8059, 19.3963, 68.8581)
Luminance0.1940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5873DA #DABF58
analogous
#58B4DA #5873DA #7E58DA
triadic
#5873DA #DA5873 #73DA58
tetradic
#5873DA #DA58B4 #DABF58 #58DA7E
square
#5873DA #DA58B4 #DABF58 #58DA7E
split-complementary
#5873DA #DA7E58 #B4DA58
monochromatic
#213A96 #2C4DC8 #5873DA #8A9DE5 #BCC7F0

Accessibility & contrast

On white

4.30
#5873DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#5873DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5873DA
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5873DA#FFFFFF#000000##000000
##5873DA1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4080DE
Deuteranopia (green-blind)
#2A74D8
Tritanopia (blue-blind)
#008A9C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5873da;
/* rgb */ color: rgb(88, 115, 218);
/* oklch */ color: oklch(58.7% 0.160 269.9);
Tailwind
colors: {
  custom: {
    50: '#929ae6',
    500: '#5873da',
    950: '#000000',
  },
}
SCSS
$custom: #5873da;
$custom-light: #929ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#5873da",
  "rgb": {
    "r": 88,
    "g": 115,
    "b": 218
  },
  "hsl": {
    "h": 227.538,
    "s": 63.725,
    "l": 60
  },
  "oklch": {
    "l": 0.58667,
    "c": 0.1597,
    "h": 269.9
  },
  "luminance": 0.19398
}

Semantic roles & 50–950 ramp

primary
#5873DA
secondary
#E0D6AE
accent
#C441E7
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5873DA

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

Preview Lab → · Contrast checker → · Palette generator →

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