#5875C9#5875C9

#5875C9 is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.0% C 0.134 H 267.8°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5875C9
RGBrgb(88, 117, 201)
HSLhsl(225, 51%, 57%)
HSVhsv(225, 56%, 79%)
CMYKcmyk(56.2%, 41.8%, 0%, 21.2%)
CIE-LABlab(50.70, 14.40, -46.95)
CIE-LCHlch(50.70, 49.11, 287.05°)
OKLaboklab(58.01% -0.0052 -0.1334)
OKLCHoklch(58.01% 0.134 267.8)
XYZxyz(20.9249, 19.0127, 57.8142)
Luminance0.1901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5875C9 #C9AC58
analogous
#58AEC9 #5875C9 #7458C9
triadic
#5875C9 #C95875 #75C958
tetradic
#5875C9 #C958AE #C9AC58 #58C974
square
#5875C9 #C958AE #C9AC58 #58C974
split-complementary
#5875C9 #C97458 #AEC958
monochromatic
#293F7E #3856AC #5875C9 #869BD8 #B4C1E7

Accessibility & contrast

On white

4.37
#5875C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#5875C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5875C9
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5875C9#FFFFFF#000000##000000
##5875C91.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#517ECC
Deuteranopia (green-blind)
#4374C7
Tritanopia (blue-blind)
#0E8795
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5875c9;
/* rgb */ color: rgb(88, 117, 201);
/* oklch */ color: oklch(58.0% 0.134 267.8);
Tailwind
colors: {
  custom: {
    50: '#8f9cda',
    500: '#5875c9',
    950: '#000000',
  },
}
SCSS
$custom: #5875c9;
$custom-light: #8f9cda;
$custom-dark: #000000;
JSON
{
  "hex": "#5875c9",
  "rgb": {
    "r": 88,
    "g": 117,
    "b": 201
  },
  "hsl": {
    "h": 224.602,
    "s": 51.131,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58009,
    "c": 0.1335,
    "h": 267.8
  },
  "luminance": 0.19014
}

Semantic roles & 50–950 ramp

primary
#5875C9
secondary
#D6CAA7
accent
#B64DDB
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5875C9

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

Preview Lab → · Contrast checker → · Palette generator →

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