#5872A2#5872A2

#5872A2 is a mid, moderate blue. Relative luminance 0.167; OKLCH L 55.2% C 0.081 H 262.2°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#5872A2
RGBrgb(88, 114, 162)
HSLhsl(219, 30%, 49%)
HSVhsv(219, 46%, 64%)
CMYKcmyk(45.7%, 29.6%, 0%, 36.5%)
CIE-LABlab(47.90, 3.83, -28.80)
CIE-LCHlch(47.90, 29.05, 277.58°)
OKLaboklab(55.2% -0.0111 -0.0806)
OKLCHoklch(55.2% 0.081 262.2)
XYZxyz(16.5613, 16.7170, 36.5294)
Luminance0.1672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5872A2 #A28858
analogous
#5897A2 #5872A2 #6358A2
triadic
#5872A2 #A25872 #72A258
tetradic
#5872A2 #A25897 #A28858 #58A263
square
#5872A2 #A25897 #A28858 #58A263
split-complementary
#5872A2 #A26358 #97A258
monochromatic
#2D3A53 #42567A #5872A2 #7E93B9 #A6B4CF

Accessibility & contrast

On white

4.83
#5872A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#5872A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5872A2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5872A2#FFFFFF#000000##FFFFFF
##5872A21.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6075A4
Deuteranopia (green-blind)
#586FA1
Tritanopia (blue-blind)
#3C7C83
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5872a2;
/* rgb */ color: rgb(88, 114, 162);
/* oklch */ color: oklch(55.2% 0.081 262.2);
Tailwind
colors: {
  custom: {
    50: '#8b9abd',
    500: '#5872a2',
    950: '#000000',
  },
}
SCSS
$custom: #5872a2;
$custom-light: #8b9abd;
$custom-dark: #000000;
JSON
{
  "hex": "#5872a2",
  "rgb": {
    "r": 88,
    "g": 114,
    "b": 162
  },
  "hsl": {
    "h": 218.919,
    "s": 29.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55199,
    "c": 0.08132,
    "h": 262.2
  },
  "luminance": 0.16718
}

Semantic roles & 50–950 ramp

primary
#5872A2
secondary
#BCB099
accent
#A362C6
background
#F8F9FB
surface
#F0F2F6
border
#CBCCD0
text
#0C0E12
muted
#7D7E81

Preview Lab

Preview with #5872A2

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

Preview Lab → · Contrast checker → · Palette generator →

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