#5872DB#5872DB

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

Color values

HEX#5872DB
RGBrgb(88, 114, 219)
HSLhsl(228, 65%, 60%)
HSVhsv(228, 60%, 86%)
CMYKcmyk(59.8%, 47.9%, 0%, 14.1%)
CIE-LABlab(50.95, 22.22, -56.79)
CIE-LCHlch(50.95, 60.98, 291.37°)
OKLaboklab(58.53% 0.0008 -0.1623)
OKLCHoklch(58.53% 0.162 270.3)
XYZxyz(22.8237, 19.2219, 69.5116)
Luminance0.1922 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5872DB #DBC158
analogous
#58B3DB #5872DB #8058DB
triadic
#5872DB #DB5872 #72DB58
tetradic
#5872DB #DB58B3 #DBC158 #58DB80
square
#5872DB #DB58B3 #DBC158 #58DB80
split-complementary
#5872DB #DB8058 #B3DB58
monochromatic
#213898 #2C4BCA #5872DB #8A9DE6 #BDC7F1

Accessibility & contrast

On white

4.33
#5872DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#5872DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5872DB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5872DB#FFFFFF#000000##000000
##5872DB1.004.334.844.84
#FFFFFF4.331.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7FDF
Deuteranopia (green-blind)
#2674D9
Tritanopia (blue-blind)
#008A9C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5872db;
/* rgb */ color: rgb(88, 114, 219);
/* oklch */ color: oklch(58.5% 0.162 270.3);
Tailwind
colors: {
  custom: {
    50: '#929ae7',
    500: '#5872db',
    950: '#000000',
  },
}
SCSS
$custom: #5872db;
$custom-light: #929ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#5872db",
  "rgb": {
    "r": 88,
    "g": 114,
    "b": 219
  },
  "hsl": {
    "h": 228.092,
    "s": 64.532,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58533,
    "c": 0.16233,
    "h": 270.3
  },
  "luminance": 0.19224
}

Semantic roles & 50–950 ramp

primary
#5872DB
secondary
#E1D7AE
accent
#A919CC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5872DB

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

Preview Lab → · Contrast checker → · Palette generator →

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