#5875B1#5875B1

#5875B1 is a mid, moderate blue. Relative luminance 0.180; OKLCH L 56.6% C 0.099 H 263.9°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5875B1
RGBrgb(88, 117, 177)
HSLhsl(220, 36%, 52%)
HSVhsv(220, 50%, 69%)
CMYKcmyk(50.3%, 33.9%, 0%, 30.6%)
CIE-LABlab(49.46, 6.66, -35.10)
CIE-LCHlch(49.46, 35.73, 280.75°)
OKLaboklab(56.64% -0.0106 -0.0988)
OKLCHoklch(56.64% 0.099 263.9)
XYZxyz(18.3190, 17.9704, 44.0898)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5875B1 #B19458
analogous
#58A2B1 #5875B1 #6758B1
triadic
#5875B1 #B15875 #75B158
tetradic
#5875B1 #B158A2 #B19458 #58B167
square
#5875B1 #B158A2 #B19458 #58B167
split-complementary
#5875B1 #B16758 #A2B158
monochromatic
#2D3E61 #41598B #5875B1 #8297C4 #ABBAD8

Accessibility & contrast

On white

4.57
#5875B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#5875B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5875B1
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5875B1#FFFFFF#000000##000000
##5875B11.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7AB3
Deuteranopia (green-blind)
#5472B0
Tritanopia (blue-blind)
#31828B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5875b1;
/* rgb */ color: rgb(88, 117, 177);
/* oklch */ color: oklch(56.6% 0.099 263.9);
Tailwind
colors: {
  custom: {
    50: '#8c9cc8',
    500: '#5875b1',
    950: '#000000',
  },
}
SCSS
$custom: #5875b1;
$custom-light: #8c9cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#5875b1",
  "rgb": {
    "r": 88,
    "g": 117,
    "b": 177
  },
  "hsl": {
    "h": 220.449,
    "s": 36.327,
    "l": 51.961
  },
  "oklch": {
    "l": 0.56643,
    "c": 0.09939,
    "h": 263.9
  },
  "luminance": 0.17972
}

Semantic roles & 50–950 ramp

primary
#5875B1
secondary
#C6B99F
accent
#A85BCC
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #5875B1

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

Preview Lab → · Contrast checker → · Palette generator →

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