#5872FF#5872FF

#5872FF is a mid, highly saturated blue. Relative luminance 0.213; OKLCH L 61.1% C 0.210 H 270.9°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#5872FF
RGBrgb(88, 114, 255)
HSLhsl(231, 100%, 67%)
HSVhsv(231, 65%, 100%)
CMYKcmyk(65.5%, 55.3%, 0%, 0%)
CIE-LABlab(53.31, 34.30, -73.10)
CIE-LCHlch(53.31, 80.75, 295.14°)
OKLaboklab(61.06% 0.0035 -0.2103)
OKLCHoklch(61.06% 0.21 270.9)
XYZxyz(28.0857, 21.3267, 97.2247)
Luminance0.2133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5872FF #FFE558
analogous
#58C5FF #5872FF #9258FF
triadic
#5872FF #FF5872 #72FF58
tetradic
#5872FF #FF58C5 #FFE558 #58FF92
square
#5872FF #FF58C5 #FFE558 #58FF92
split-complementary
#5872FF #FF9258 #C5FF58
monochromatic
#0022DD #1B3EFF #5872FF #95A6FF #D2D9FF

Accessibility & contrast

On white

3.99
#5872FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#5872FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5872FF
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5872FF#FFFFFF#000000##000000
##5872FF1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#0078FC
Tritanopia (blue-blind)
#0094AE
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5872ff;
/* rgb */ color: rgb(88, 114, 255);
/* oklch */ color: oklch(61.1% 0.210 270.9);
Tailwind
colors: {
  custom: {
    50: '#989aff',
    500: '#5872ff',
    950: '#000000',
  },
}
SCSS
$custom: #5872ff;
$custom-light: #989aff;
$custom-dark: #000000;
JSON
{
  "hex": "#5872ff",
  "rgb": {
    "r": 88,
    "g": 114,
    "b": 255
  },
  "hsl": {
    "h": 230.659,
    "s": 100,
    "l": 67.255
  },
  "oklch": {
    "l": 0.61063,
    "c": 0.21035,
    "h": 270.9
  },
  "luminance": 0.21329
}

Semantic roles & 50–950 ramp

primary
#5872FF
secondary
#F4ECBF
accent
#C200E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E18
muted
#7F7E86

Preview Lab

Preview with #5872FF

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

Preview Lab → · Contrast checker → · Palette generator →

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