#5873CD#5873CD

#5873CD is a mid, vivid blue. Relative luminance 0.187; OKLCH L 57.8% C 0.142 H 269.1°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5873CD
RGBrgb(88, 115, 205)
HSLhsl(226, 54%, 57%)
HSVhsv(226, 57%, 80%)
CMYKcmyk(57.1%, 43.9%, 0%, 19.6%)
CIE-LABlab(50.38, 16.95, -49.74)
CIE-LCHlch(50.38, 52.55, 288.82°)
OKLaboklab(57.84% -0.0023 -0.1416)
OKLCHoklch(57.84% 0.142 269.1)
XYZxyz(21.1710, 18.7423, 60.2478)
Luminance0.1874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5873CD #CDB258
analogous
#58ADCD #5873CD #7858CD
triadic
#5873CD #CD5873 #73CD58
tetradic
#5873CD #CD58AD #CDB258 #58CD78
square
#5873CD #CD58AD #CDB258 #58CD78
split-complementary
#5873CD #CD7858 #ADCD58
monochromatic
#273D83 #3552B2 #5873CD #879ADB #B6C2E9

Accessibility & contrast

On white

4.42
#5873CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#5873CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5873CD
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5873CD#FFFFFF#000000##000000
##5873CD1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7DD0
Deuteranopia (green-blind)
#3B73CB
Tritanopia (blue-blind)
#018796
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5873cd;
/* rgb */ color: rgb(88, 115, 205);
/* oklch */ color: oklch(57.8% 0.142 269.1);
Tailwind
colors: {
  custom: {
    50: '#909add',
    500: '#5873cd',
    950: '#000000',
  },
}
SCSS
$custom: #5873cd;
$custom-light: #909add;
$custom-dark: #000000;
JSON
{
  "hex": "#5873cd",
  "rgb": {
    "r": 88,
    "g": 115,
    "b": 205
  },
  "hsl": {
    "h": 226.154,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57838,
    "c": 0.14163,
    "h": 269.1
  },
  "luminance": 0.18744
}

Semantic roles & 50–950 ramp

primary
#5873CD
secondary
#D8CDA9
accent
#BB4BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5873CD

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

Preview Lab → · Contrast checker → · Palette generator →

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