#5877AF#5877AF

#5877AF is a mid, moderate blue. Relative luminance 0.184; OKLCH L 57.0% C 0.094 H 261.7°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#5877AF
RGBrgb(88, 119, 175)
HSLhsl(219, 35%, 52%)
HSVhsv(219, 50%, 69%)
CMYKcmyk(49.7%, 32%, 0%, 31.4%)
CIE-LABlab(49.93, 4.82, -33.20)
CIE-LCHlch(49.93, 33.55, 278.27°)
OKLaboklab(56.98% -0.0136 -0.0933)
OKLCHoklch(56.98% 0.094 261.7)
XYZxyz(18.3566, 18.3623, 43.1261)
Luminance0.1836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877AF #AF9058
analogous
#58A3AF #5877AF #6558AF
triadic
#5877AF #AF5877 #77AF58
tetradic
#5877AF #AF58A3 #AF9058 #58AF65
square
#5877AF #AF58A3 #AF9058 #58AF65
split-complementary
#5877AF #AF6558 #A3AF58
monochromatic
#2E3F5F #415B88 #5877AF #8199C3 #ABBAD7

Accessibility & contrast

On white

4.49
#5877AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#5877AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5877AF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5877AF#FFFFFF#000000##000000
##5877AF1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#627BB1
Deuteranopia (green-blind)
#5873AE
Tritanopia (blue-blind)
#32838B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5877af;
/* rgb */ color: rgb(88, 119, 175);
/* oklch */ color: oklch(57.0% 0.094 261.7);
Tailwind
colors: {
  custom: {
    50: '#8c9ec7',
    500: '#5877af',
    950: '#000000',
  },
}
SCSS
$custom: #5877af;
$custom-light: #8c9ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#5877af",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 175
  },
  "hsl": {
    "h": 218.621,
    "s": 35.223,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5698,
    "c": 0.09428,
    "h": 261.7
  },
  "luminance": 0.18364
}

Semantic roles & 50–950 ramp

primary
#5877AF
secondary
#C5B79E
accent
#A45DCB
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #5877AF

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

Preview Lab → · Contrast checker → · Palette generator →

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