#5872DA#5872DA

#5872DA is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.5% C 0.161 H 270.2°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#5872DA
RGBrgb(88, 114, 218)
HSLhsl(228, 64%, 60%)
HSVhsv(228, 60%, 85%)
CMYKcmyk(59.6%, 47.7%, 0%, 14.5%)
CIE-LABlab(50.88, 21.89, -56.32)
CIE-LCHlch(50.88, 60.42, 291.24°)
OKLaboklab(58.47% 0.0006 -0.1609)
OKLCHoklch(58.47% 0.161 270.2)
XYZxyz(22.6925, 19.1694, 68.8203)
Luminance0.1917 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5872DA #DAC058
analogous
#58B3DA #5872DA #7F58DA
triadic
#5872DA #DA5872 #72DA58
tetradic
#5872DA #DA58B3 #DAC058 #58DA7F
square
#5872DA #DA58B3 #DAC058 #58DA7F
split-complementary
#5872DA #DA7F58 #B3DA58
monochromatic
#213996 #2C4CC8 #5872DA #8A9CE5 #BCC7F0

Accessibility & contrast

On white

4.34
#5872DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#5872DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5872DA
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5872DA#FFFFFF#000000##000000
##5872DA1.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7FDE
Deuteranopia (green-blind)
#2874D8
Tritanopia (blue-blind)
#008A9B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5872da;
/* rgb */ color: rgb(88, 114, 218);
/* oklch */ color: oklch(58.5% 0.161 270.2);
Tailwind
colors: {
  custom: {
    50: '#929ae6',
    500: '#5872da',
    950: '#000000',
  },
}
SCSS
$custom: #5872da;
$custom-light: #929ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#5872da",
  "rgb": {
    "r": 88,
    "g": 114,
    "b": 218
  },
  "hsl": {
    "h": 228,
    "s": 63.725,
    "l": 60
  },
  "oklch": {
    "l": 0.58467,
    "c": 0.16095,
    "h": 270.2
  },
  "luminance": 0.19171
}

Semantic roles & 50–950 ramp

primary
#5872DA
secondary
#E0D6AE
accent
#C641E7
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5872DA

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

Preview Lab → · Contrast checker → · Palette generator →

#5872DA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva