#5875B2#5875B2

#5875B2 is a mid, moderate blue. Relative luminance 0.180; OKLCH L 56.7% C 0.101 H 264.1°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#5875B2
RGBrgb(88, 117, 178)
HSLhsl(221, 37%, 52%)
HSVhsv(221, 51%, 70%)
CMYKcmyk(50.6%, 34.3%, 0%, 30.2%)
CIE-LABlab(49.51, 6.98, -35.60)
CIE-LCHlch(49.51, 36.28, 281.09°)
OKLaboklab(56.7% -0.0104 -0.1003)
OKLCHoklch(56.7% 0.101 264.1)
XYZxyz(18.4190, 18.0104, 44.6166)
Luminance0.1801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5875B2 #B29558
analogous
#58A2B2 #5875B2 #6858B2
triadic
#5875B2 #B25875 #75B258
tetradic
#5875B2 #B258A2 #B29558 #58B268
square
#5875B2 #B258A2 #B29558 #58B268
split-complementary
#5875B2 #B26858 #A2B258
monochromatic
#2D3E62 #41598C #5875B2 #8298C5 #ACBAD9

Accessibility & contrast

On white

4.56
#5875B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#5875B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5875B2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5875B2#FFFFFF#000000##000000
##5875B21.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7AB5
Deuteranopia (green-blind)
#5372B1
Tritanopia (blue-blind)
#30828B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5875b2;
/* rgb */ color: rgb(88, 117, 178);
/* oklch */ color: oklch(56.7% 0.101 264.1);
Tailwind
colors: {
  custom: {
    50: '#8c9cc9',
    500: '#5875b2',
    950: '#000000',
  },
}
SCSS
$custom: #5875b2;
$custom-light: #8c9cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#5875b2",
  "rgb": {
    "r": 88,
    "g": 117,
    "b": 178
  },
  "hsl": {
    "h": 220.667,
    "s": 36.885,
    "l": 52.157
  },
  "oklch": {
    "l": 0.56697,
    "c": 0.10081,
    "h": 264.1
  },
  "luminance": 0.18012
}

Semantic roles & 50–950 ramp

primary
#5875B2
secondary
#C7BA9F
accent
#A85BCD
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #5875B2

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

Preview Lab → · Contrast checker → · Palette generator →

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