#5873AF#5873AF

#5873AF is a mid, moderate blue. Relative luminance 0.174; OKLCH L 56.1% C 0.099 H 265.0°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#5873AF
RGBrgb(88, 115, 175)
HSLhsl(221, 35%, 52%)
HSVhsv(221, 50%, 69%)
CMYKcmyk(49.7%, 34.3%, 0%, 31.4%)
CIE-LABlab(48.80, 7.25, -34.98)
CIE-LCHlch(48.80, 35.72, 281.71°)
OKLaboklab(56.1% -0.0087 -0.0985)
OKLCHoklch(56.1% 0.099 265)
XYZxyz(17.8906, 17.4301, 42.9707)
Luminance0.1743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5873AF #AF9458
analogous
#589FAF #5873AF #6958AF
triadic
#5873AF #AF5873 #73AF58
tetradic
#5873AF #AF589F #AF9458 #58AF69
square
#5873AF #AF589F #AF9458 #58AF69
split-complementary
#5873AF #AF6958 #9FAF58
monochromatic
#2E3D5F #415788 #5873AF #8196C3 #ABB8D7

Accessibility & contrast

On white

4.68
#5873AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#5873AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5873AF
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5873AF#FFFFFF#000000##FFFFFF
##5873AF1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C78B1
Deuteranopia (green-blind)
#5370AE
Tritanopia (blue-blind)
#338089
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5873af;
/* rgb */ color: rgb(88, 115, 175);
/* oklch */ color: oklch(56.1% 0.099 265.0);
Tailwind
colors: {
  custom: {
    50: '#8c9bc7',
    500: '#5873af',
    950: '#000000',
  },
}
SCSS
$custom: #5873af;
$custom-light: #8c9bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#5873af",
  "rgb": {
    "r": 88,
    "g": 115,
    "b": 175
  },
  "hsl": {
    "h": 221.379,
    "s": 35.223,
    "l": 51.569
  },
  "oklch": {
    "l": 0.56097,
    "c": 0.09886,
    "h": 265
  },
  "luminance": 0.17431
}

Semantic roles & 50–950 ramp

primary
#5873AF
secondary
#C5B99E
accent
#A95DCB
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #5873AF

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

Preview Lab → · Contrast checker → · Palette generator →

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