#5875BA#5875BA

#5875BA is a mid, moderate blue. Relative luminance 0.183; OKLCH L 57.1% C 0.112 H 265.7°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#5875BA
RGBrgb(88, 117, 186)
HSLhsl(222, 42%, 54%)
HSVhsv(222, 53%, 73%)
CMYKcmyk(52.7%, 37.1%, 0%, 27.1%)
CIE-LABlab(49.91, 9.53, -39.60)
CIE-LCHlch(49.91, 40.73, 283.53°)
OKLaboklab(57.14% -0.0084 -0.1119)
OKLCHoklch(57.14% 0.112 265.7)
XYZxyz(19.2458, 18.3411, 48.9709)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5875BA #BA9D58
analogous
#58A6BA #5875BA #6C58BA
triadic
#5875BA #BA5875 #75BA58
tetradic
#5875BA #BA58A6 #BA9D58 #58BA6C
square
#5875BA #BA58A6 #BA9D58 #58BA6C
split-complementary
#5875BA #BA6C58 #A6BA58
monochromatic
#2C3F6B #3E5897 #5875BA #8399CC #AFBDDE

Accessibility & contrast

On white

4.50
#5875BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#5875BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5875BA
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5875BA#FFFFFF#000000##000000
##5875BA1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7BBD
Deuteranopia (green-blind)
#4E73B8
Tritanopia (blue-blind)
#28848F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5875ba;
/* rgb */ color: rgb(88, 117, 186);
/* oklch */ color: oklch(57.1% 0.112 265.7);
Tailwind
colors: {
  custom: {
    50: '#8d9ccf',
    500: '#5875ba',
    950: '#000000',
  },
}
SCSS
$custom: #5875ba;
$custom-light: #8d9ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#5875ba",
  "rgb": {
    "r": 88,
    "g": 117,
    "b": 186
  },
  "hsl": {
    "h": 222.245,
    "s": 41.525,
    "l": 53.725
  },
  "oklch": {
    "l": 0.57136,
    "c": 0.11223,
    "h": 265.7
  },
  "luminance": 0.18342
}

Semantic roles & 50–950 ramp

primary
#5875BA
secondary
#CCBFA2
accent
#AD56D1
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5875BA

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

Preview Lab → · Contrast checker → · Palette generator →

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