#5873DB#5873DB

#5873DB is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.7% C 0.161 H 269.9°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#5873DB
RGBrgb(88, 115, 219)
HSLhsl(228, 65%, 60%)
HSVhsv(228, 60%, 86%)
CMYKcmyk(59.8%, 47.5%, 0%, 14.1%)
CIE-LABlab(51.21, 21.60, -56.37)
CIE-LCHlch(51.21, 60.36, 290.97°)
OKLaboklab(58.73% -0.0002 -0.1611)
OKLCHoklch(58.73% 0.161 269.9)
XYZxyz(22.9371, 19.4488, 69.5494)
Luminance0.1945 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5873DB #DBC058
analogous
#58B4DB #5873DB #7F58DB
triadic
#5873DB #DB5873 #73DB58
tetradic
#5873DB #DB58B4 #DBC058 #58DB7F
square
#5873DB #DB58B4 #DBC058 #58DB7F
split-complementary
#5873DB #DB7F58 #B4DB58
monochromatic
#213998 #2C4CCA #5873DB #8A9DE6 #BDC7F1

Accessibility & contrast

On white

4.29
#5873DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#5873DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5873DB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5873DB#FFFFFF#000000##000000
##5873DB1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F80DF
Deuteranopia (green-blind)
#2974D9
Tritanopia (blue-blind)
#008B9C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5873db;
/* rgb */ color: rgb(88, 115, 219);
/* oklch */ color: oklch(58.7% 0.161 269.9);
Tailwind
colors: {
  custom: {
    50: '#929ae7',
    500: '#5873db',
    950: '#000000',
  },
}
SCSS
$custom: #5873db;
$custom-light: #929ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#5873db",
  "rgb": {
    "r": 88,
    "g": 115,
    "b": 219
  },
  "hsl": {
    "h": 227.634,
    "s": 64.532,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58732,
    "c": 0.16108,
    "h": 269.9
  },
  "luminance": 0.19451
}

Semantic roles & 50–950 ramp

primary
#5873DB
secondary
#E1D6AE
accent
#A719CC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5873DB

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

Preview Lab → · Contrast checker → · Palette generator →

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