#5873CB#5873CB

#5873CB is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.7% C 0.139 H 268.9°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#5873CB
RGBrgb(88, 115, 203)
HSLhsl(226, 53%, 57%)
HSVhsv(226, 57%, 80%)
CMYKcmyk(56.7%, 43.3%, 0%, 20.4%)
CIE-LABlab(50.27, 16.29, -48.78)
CIE-LCHlch(50.27, 51.43, 288.47°)
OKLaboklab(57.71% -0.0026 -0.1388)
OKLCHoklch(57.71% 0.139 268.9)
XYZxyz(20.9311, 18.6464, 58.9844)
Luminance0.1865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5873CB #CBB058
analogous
#58ADCB #5873CB #7758CB
triadic
#5873CB #CB5873 #73CB58
tetradic
#5873CB #CB58AD #CBB058 #58CB77
square
#5873CB #CB58AD #CBB058 #58CB77
split-complementary
#5873CB #CB7758 #ADCB58
monochromatic
#283D81 #3753AF #5873CB #879ADA #B5C1E8

Accessibility & contrast

On white

4.44
#5873CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#5873CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5873CB
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5873CB#FFFFFF#000000##000000
##5873CB1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7DCE
Deuteranopia (green-blind)
#3D73C9
Tritanopia (blue-blind)
#098695
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5873cb;
/* rgb */ color: rgb(88, 115, 203);
/* oklch */ color: oklch(57.7% 0.139 268.9);
Tailwind
colors: {
  custom: {
    50: '#909adb',
    500: '#5873cb',
    950: '#000000',
  },
}
SCSS
$custom: #5873cb;
$custom-light: #909adb;
$custom-dark: #000000;
JSON
{
  "hex": "#5873cb",
  "rgb": {
    "r": 88,
    "g": 115,
    "b": 203
  },
  "hsl": {
    "h": 225.913,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57714,
    "c": 0.13881,
    "h": 268.9
  },
  "luminance": 0.18648
}

Semantic roles & 50–950 ramp

primary
#5873CB
secondary
#D7CCA8
accent
#BA4CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5873CB

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

Preview Lab → · Contrast checker → · Palette generator →

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