#5872AF#5872AF

#5872AF is a mid, moderate blue. Relative luminance 0.172; OKLCH L 55.9% C 0.100 H 265.7°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#5872AF
RGBrgb(88, 114, 175)
HSLhsl(222, 35%, 52%)
HSVhsv(222, 50%, 69%)
CMYKcmyk(49.7%, 34.9%, 0%, 31.4%)
CIE-LABlab(48.52, 7.86, -35.43)
CIE-LCHlch(48.52, 36.29, 282.51°)
OKLaboklab(55.88% -0.0074 -0.0998)
OKLCHoklch(55.88% 0.1 265.7)
XYZxyz(17.7771, 17.2033, 42.9329)
Luminance0.1720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5872AF #AF9558
analogous
#589EAF #5872AF #6A58AF
triadic
#5872AF #AF5872 #72AF58
tetradic
#5872AF #AF589E #AF9558 #58AF6A
square
#5872AF #AF589E #AF9558 #58AF6A
split-complementary
#5872AF #AF6A58 #9EAF58
monochromatic
#2E3C5F #415788 #5872AF #8195C3 #ABB8D7

Accessibility & contrast

On white

4.73
#5872AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#5872AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5872AF
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5872AF#FFFFFF#000000##FFFFFF
##5872AF1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B77B2
Deuteranopia (green-blind)
#5170AE
Tritanopia (blue-blind)
#337F88
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5872af;
/* rgb */ color: rgb(88, 114, 175);
/* oklch */ color: oklch(55.9% 0.100 265.7);
Tailwind
colors: {
  custom: {
    50: '#8c9ac7',
    500: '#5872af',
    950: '#000000',
  },
}
SCSS
$custom: #5872af;
$custom-light: #8c9ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#5872af",
  "rgb": {
    "r": 88,
    "g": 114,
    "b": 175
  },
  "hsl": {
    "h": 222.069,
    "s": 35.223,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55878,
    "c": 0.10005,
    "h": 265.7
  },
  "luminance": 0.17204
}

Semantic roles & 50–950 ramp

primary
#5872AF
secondary
#C5B99E
accent
#AA5DCB
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #5872AF

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

Preview Lab → · Contrast checker → · Palette generator →

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