#5873AC#5873AC

#5873AC is a mid, moderate blue. Relative luminance 0.173; OKLCH L 55.9% C 0.095 H 264.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#5873AC
RGBrgb(88, 115, 172)
HSLhsl(221, 34%, 51%)
HSVhsv(221, 49%, 67%)
CMYKcmyk(48.8%, 33.1%, 0%, 32.5%)
CIE-LABlab(48.65, 6.31, -33.46)
CIE-LCHlch(48.65, 34.05, 280.68°)
OKLaboklab(55.94% -0.0095 -0.0941)
OKLCHoklch(55.94% 0.095 264.2)
XYZxyz(17.5992, 17.3136, 41.4362)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5873AC #AC9158
analogous
#589DAC #5873AC #6758AC
triadic
#5873AC #AC5873 #73AC58
tetradic
#5873AC #AC589D #AC9158 #58AC67
square
#5873AC #AC589D #AC9158 #58AC67
split-complementary
#5873AC #AC6758 #9DAC58
monochromatic
#2E3D5C #425785 #5873AC #8195C0 #AAB8D5

Accessibility & contrast

On white

4.71
#5873AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#5873AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5873AC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5873AC#FFFFFF#000000##FFFFFF
##5873AC1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E78AE
Deuteranopia (green-blind)
#5470AB
Tritanopia (blue-blind)
#357F88
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5873ac;
/* rgb */ color: rgb(88, 115, 172);
/* oklch */ color: oklch(55.9% 0.095 264.2);
Tailwind
colors: {
  custom: {
    50: '#8c9bc5',
    500: '#5873ac',
    950: '#000000',
  },
}
SCSS
$custom: #5873ac;
$custom-light: #8c9bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#5873ac",
  "rgb": {
    "r": 88,
    "g": 115,
    "b": 172
  },
  "hsl": {
    "h": 220.714,
    "s": 33.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55937,
    "c": 0.09455,
    "h": 264.2
  },
  "luminance": 0.17315
}

Semantic roles & 50–950 ramp

primary
#5873AC
secondary
#C3B79D
accent
#A75ECA
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #5873AC

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

Preview Lab → · Contrast checker → · Palette generator →

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