#5873BB#5873BB

#5873BB is a mid, moderate blue. Relative luminance 0.179; OKLCH L 56.8% C 0.116 H 267.1°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#5873BB
RGBrgb(88, 115, 187)
HSLhsl(224, 42%, 54%)
HSVhsv(224, 53%, 73%)
CMYKcmyk(52.9%, 38.5%, 0%, 26.7%)
CIE-LABlab(49.40, 11.07, -40.98)
CIE-LCHlch(49.40, 42.45, 285.12°)
OKLaboklab(56.76% -0.0058 -0.1159)
OKLCHoklch(56.76% 0.116 267.1)
XYZxyz(19.1219, 17.9227, 49.4559)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5873BB #BBA058
analogous
#58A5BB #5873BB #6F58BB
triadic
#5873BB #BB5873 #73BB58
tetradic
#5873BB #BB58A5 #BBA058 #58BB6F
square
#5873BB #BB58A5 #BBA058 #58BB6F
split-complementary
#5873BB #BB6F58 #A5BB58
monochromatic
#2C3E6C #3E5698 #5873BB #8397CD #AFBCDE

Accessibility & contrast

On white

4.58
#5873BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#5873BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5873BB
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5873BB#FFFFFF#000000##000000
##5873BB1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#567ABE
Deuteranopia (green-blind)
#4B71B9
Tritanopia (blue-blind)
#27838E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5873bb;
/* rgb */ color: rgb(88, 115, 187);
/* oklch */ color: oklch(56.8% 0.116 267.1);
Tailwind
colors: {
  custom: {
    50: '#8d9bd0',
    500: '#5873bb',
    950: '#000000',
  },
}
SCSS
$custom: #5873bb;
$custom-light: #8d9bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5873bb",
  "rgb": {
    "r": 88,
    "g": 115,
    "b": 187
  },
  "hsl": {
    "h": 223.636,
    "s": 42.128,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56763,
    "c": 0.11608,
    "h": 267.1
  },
  "luminance": 0.17924
}

Semantic roles & 50–950 ramp

primary
#5873BB
secondary
#CDC1A2
accent
#B056D2
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5873BB

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

Preview Lab → · Contrast checker → · Palette generator →

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