#5873C0#5873C0

#5873C0 is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.1% C 0.123 H 267.8°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#5873C0
RGBrgb(88, 115, 192)
HSLhsl(224, 45%, 55%)
HSVhsv(224, 54%, 75%)
CMYKcmyk(54.2%, 40.1%, 0%, 24.7%)
CIE-LABlab(49.67, 12.69, -43.44)
CIE-LCHlch(49.67, 45.25, 286.28°)
OKLaboklab(57.05% -0.0047 -0.1231)
OKLCHoklch(57.05% 0.123 267.8)
XYZxyz(19.6665, 18.1405, 52.3241)
Luminance0.1814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5873C0 #C0A558
analogous
#58A7C0 #5873C0 #7158C0
triadic
#5873C0 #C05873 #73C058
tetradic
#5873C0 #C058A7 #C0A558 #58C071
square
#5873C0 #C058A7 #C0A558 #58C071
split-complementary
#5873C0 #C07158 #A7C058
monochromatic
#2B3E72 #3C569F #5873C0 #8498D1 #B1BEE2

Accessibility & contrast

On white

4.54
#5873C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#5873C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5873C0
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5873C0#FFFFFF#000000##000000
##5873C01.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#537BC3
Deuteranopia (green-blind)
#4772BE
Tritanopia (blue-blind)
#218490
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5873c0;
/* rgb */ color: rgb(88, 115, 192);
/* oklch */ color: oklch(57.1% 0.123 267.8);
Tailwind
colors: {
  custom: {
    50: '#8e9bd3',
    500: '#5873c0',
    950: '#000000',
  },
}
SCSS
$custom: #5873c0;
$custom-light: #8e9bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5873c0",
  "rgb": {
    "r": 88,
    "g": 115,
    "b": 192
  },
  "hsl": {
    "h": 224.423,
    "s": 45.217,
    "l": 54.902
  },
  "oklch": {
    "l": 0.57053,
    "c": 0.12323,
    "h": 267.8
  },
  "luminance": 0.18142
}

Semantic roles & 50–950 ramp

primary
#5873C0
secondary
#D0C4A4
accent
#B353D5
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0E14
muted
#7E7E83

Preview Lab

Preview with #5873C0

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

Preview Lab → · Contrast checker → · Palette generator →

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