#5873D3#5873D3

#5873D3 is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.2% C 0.150 H 269.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5873D3
RGBrgb(88, 115, 211)
HSLhsl(227, 58%, 59%)
HSVhsv(227, 58%, 83%)
CMYKcmyk(58.3%, 45.5%, 0%, 17.3%)
CIE-LABlab(50.73, 18.94, -52.60)
CIE-LCHlch(50.73, 55.90, 289.80°)
OKLaboklab(58.22% -0.0013 -0.15)
OKLCHoklch(58.22% 0.15 269.5)
XYZxyz(21.9092, 19.0376, 64.1355)
Luminance0.1904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5873D3 #D3B858
analogous
#58B0D3 #5873D3 #7A58D3
triadic
#5873D3 #D35873 #73D358
tetradic
#5873D3 #D358B0 #D3B858 #58D37A
square
#5873D3 #D358B0 #D3B858 #58D37A
split-complementary
#5873D3 #D37A58 #B0D358
monochromatic
#253B8C #3250BC #5873D3 #889CE0 #B9C4ED

Accessibility & contrast

On white

4.37
#5873D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#5873D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5873D3
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5873D3#FFFFFF#000000##000000
##5873D31.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#467FD7
Deuteranopia (green-blind)
#3474D1
Tritanopia (blue-blind)
#008899
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5873d3;
/* rgb */ color: rgb(88, 115, 211);
/* oklch */ color: oklch(58.2% 0.150 269.5);
Tailwind
colors: {
  custom: {
    50: '#919ae1',
    500: '#5873d3',
    950: '#000000',
  },
}
SCSS
$custom: #5873d3;
$custom-light: #919ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#5873d3",
  "rgb": {
    "r": 88,
    "g": 115,
    "b": 211
  },
  "hsl": {
    "h": 226.829,
    "s": 58.294,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58215,
    "c": 0.15002,
    "h": 269.5
  },
  "luminance": 0.19039
}

Semantic roles & 50–950 ramp

primary
#5873D3
secondary
#DCD1AB
accent
#BF46E2
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5873D3

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

Preview Lab → · Contrast checker → · Palette generator →

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