#5875AF#5875AF

#5875AF is a mid, moderate blue. Relative luminance 0.179; OKLCH L 56.5% C 0.097 H 263.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5875AF
RGBrgb(88, 117, 175)
HSLhsl(220, 35%, 52%)
HSVhsv(220, 50%, 69%)
CMYKcmyk(49.7%, 33.1%, 0%, 31.4%)
CIE-LABlab(49.36, 6.03, -34.09)
CIE-LCHlch(49.36, 34.62, 280.04°)
OKLaboklab(56.54% -0.0111 -0.0959)
OKLCHoklch(56.54% 0.097 263.4)
XYZxyz(18.1211, 17.8912, 43.0476)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5875AF #AF9258
analogous
#58A1AF #5875AF #6758AF
triadic
#5875AF #AF5875 #75AF58
tetradic
#5875AF #AF58A1 #AF9258 #58AF67
square
#5875AF #AF58A1 #AF9258 #58AF67
split-complementary
#5875AF #AF6758 #A1AF58
monochromatic
#2E3E5F #415988 #5875AF #8197C3 #ABB9D7

Accessibility & contrast

On white

4.59
#5875AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#5875AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5875AF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5875AF#FFFFFF#000000##FFFFFF
##5875AF1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F7AB1
Deuteranopia (green-blind)
#5572AE
Tritanopia (blue-blind)
#32818A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5875af;
/* rgb */ color: rgb(88, 117, 175);
/* oklch */ color: oklch(56.5% 0.097 263.4);
Tailwind
colors: {
  custom: {
    50: '#8c9cc7',
    500: '#5875af',
    950: '#000000',
  },
}
SCSS
$custom: #5875af;
$custom-light: #8c9cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#5875af",
  "rgb": {
    "r": 88,
    "g": 117,
    "b": 175
  },
  "hsl": {
    "h": 220,
    "s": 35.223,
    "l": 51.569
  },
  "oklch": {
    "l": 0.56537,
    "c": 0.09653,
    "h": 263.4
  },
  "luminance": 0.17892
}

Semantic roles & 50–950 ramp

primary
#5875AF
secondary
#C5B89E
accent
#A65DCB
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #5875AF

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

Preview Lab → · Contrast checker → · Palette generator →

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