#5873BE#5873BE

#5873BE is a mid, vivid blue. Relative luminance 0.181; OKLCH L 56.9% C 0.120 H 267.6°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#5873BE
RGBrgb(88, 115, 190)
HSLhsl(224, 44%, 55%)
HSVhsv(224, 54%, 75%)
CMYKcmyk(53.7%, 39.5%, 0%, 25.5%)
CIE-LABlab(49.56, 12.04, -42.46)
CIE-LCHlch(49.56, 44.13, 285.83°)
OKLaboklab(56.94% -0.0051 -0.1203)
OKLCHoklch(56.94% 0.12 267.6)
XYZxyz(19.4464, 18.0525, 51.1650)
Luminance0.1805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5873BE #BEA358
analogous
#58A6BE #5873BE #7058BE
triadic
#5873BE #BE5873 #73BE58
tetradic
#5873BE #BE58A6 #BEA358 #58BE70
square
#5873BE #BE58A6 #BEA358 #58BE70
split-complementary
#5873BE #BE7058 #A6BE58
monochromatic
#2C3E70 #3D569C #5873BE #8498CF #B0BDE0

Accessibility & contrast

On white

4.55
#5873BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#5873BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5873BE
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5873BE#FFFFFF#000000##000000
##5873BE1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#557BC1
Deuteranopia (green-blind)
#4972BC
Tritanopia (blue-blind)
#24838F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5873be;
/* rgb */ color: rgb(88, 115, 190);
/* oklch */ color: oklch(56.9% 0.120 267.6);
Tailwind
colors: {
  custom: {
    50: '#8e9bd2',
    500: '#5873be',
    950: '#000000',
  },
}
SCSS
$custom: #5873be;
$custom-light: #8e9bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5873be",
  "rgb": {
    "r": 88,
    "g": 115,
    "b": 190
  },
  "hsl": {
    "h": 224.118,
    "s": 43.966,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56936,
    "c": 0.12038,
    "h": 267.6
  },
  "luminance": 0.18054
}

Semantic roles & 50–950 ramp

primary
#5873BE
secondary
#CEC3A3
accent
#B254D4
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5873BE

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

Preview Lab → · Contrast checker → · Palette generator →

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