#5873B2#5873B2

#5873B2 is a mid, moderate blue. Relative luminance 0.176; OKLCH L 56.3% C 0.103 H 265.6°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#5873B2
RGBrgb(88, 115, 178)
HSLhsl(222, 37%, 52%)
HSVhsv(222, 51%, 70%)
CMYKcmyk(50.6%, 35.4%, 0%, 30.2%)
CIE-LABlab(48.94, 8.20, -36.49)
CIE-LCHlch(48.94, 37.40, 282.66°)
OKLaboklab(56.26% -0.0079 -0.1029)
OKLCHoklch(56.26% 0.103 265.6)
XYZxyz(18.1885, 17.5493, 44.5398)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5873B2 #B29758
analogous
#58A0B2 #5873B2 #6A58B2
triadic
#5873B2 #B25873 #73B258
tetradic
#5873B2 #B258A0 #B29758 #58B26A
square
#5873B2 #B258A0 #B29758 #58B26A
split-complementary
#5873B2 #B26A58 #A0B258
monochromatic
#2D3D62 #41578C #5873B2 #8296C5 #ACB9D9

Accessibility & contrast

On white

4.66
#5873B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#5873B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5873B2
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5873B2#FFFFFF#000000##FFFFFF
##5873B21.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B79B5
Deuteranopia (green-blind)
#5171B1
Tritanopia (blue-blind)
#30808A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5873b2;
/* rgb */ color: rgb(88, 115, 178);
/* oklch */ color: oklch(56.3% 0.103 265.6);
Tailwind
colors: {
  custom: {
    50: '#8c9bc9',
    500: '#5873b2',
    950: '#000000',
  },
}
SCSS
$custom: #5873b2;
$custom-light: #8c9bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#5873b2",
  "rgb": {
    "r": 88,
    "g": 115,
    "b": 178
  },
  "hsl": {
    "h": 222,
    "s": 36.885,
    "l": 52.157
  },
  "oklch": {
    "l": 0.5626,
    "c": 0.10317,
    "h": 265.6
  },
  "luminance": 0.17551
}

Semantic roles & 50–950 ramp

primary
#5873B2
secondary
#C7BB9F
accent
#AB5BCD
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #5873B2

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

Preview Lab → · Contrast checker → · Palette generator →

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