#5873BA#5873BA

#5873BA is a mid, moderate blue. Relative luminance 0.179; OKLCH L 56.7% C 0.115 H 267.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5873BA
RGBrgb(88, 115, 186)
HSLhsl(223, 42%, 54%)
HSVhsv(223, 53%, 73%)
CMYKcmyk(52.7%, 38.2%, 0%, 27.1%)
CIE-LABlab(49.35, 10.75, -40.48)
CIE-LCHlch(49.35, 41.88, 284.87°)
OKLaboklab(56.71% -0.006 -0.1145)
OKLCHoklch(56.71% 0.115 267)
XYZxyz(19.0152, 17.8800, 48.8940)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5873BA #BA9F58
analogous
#58A4BA #5873BA #6E58BA
triadic
#5873BA #BA5873 #73BA58
tetradic
#5873BA #BA58A4 #BA9F58 #58BA6E
square
#5873BA #BA58A4 #BA9F58 #58BA6E
split-complementary
#5873BA #BA6E58 #A4BA58
monochromatic
#2C3E6B #3E5797 #5873BA #8397CC #AFBCDE

Accessibility & contrast

On white

4.59
#5873BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5873BA
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5873BA#FFFFFF#000000##FFFFFF
##5873BA1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#577ABD
Deuteranopia (green-blind)
#4C71B8
Tritanopia (blue-blind)
#28828D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5873ba;
/* rgb */ color: rgb(88, 115, 186);
/* oklch */ color: oklch(56.7% 0.115 267.0);
Tailwind
colors: {
  custom: {
    50: '#8d9bcf',
    500: '#5873ba',
    950: '#000000',
  },
}
SCSS
$custom: #5873ba;
$custom-light: #8d9bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#5873ba",
  "rgb": {
    "r": 88,
    "g": 115,
    "b": 186
  },
  "hsl": {
    "h": 223.469,
    "s": 41.525,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56706,
    "c": 0.11466,
    "h": 267
  },
  "luminance": 0.17881
}

Semantic roles & 50–950 ramp

primary
#5873BA
secondary
#CCC0A2
accent
#AF56D1
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5873BA

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

Preview Lab → · Contrast checker → · Palette generator →

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