#5875C8#5875C8

#5875C8 is a mid, vivid blue. Relative luminance 0.190; OKLCH L 57.9% C 0.132 H 267.7°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#5875C8
RGBrgb(88, 117, 200)
HSLhsl(224, 50%, 56%)
HSVhsv(224, 56%, 78%)
CMYKcmyk(56%, 41.5%, 0%, 21.6%)
CIE-LABlab(50.65, 14.07, -46.47)
CIE-LCHlch(50.65, 48.55, 286.85°)
OKLaboklab(57.95% -0.0054 -0.132)
OKLCHoklch(57.95% 0.132 267.7)
XYZxyz(20.8076, 18.9658, 57.1967)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5875C8 #C8AB58
analogous
#58ADC8 #5875C8 #7358C8
triadic
#5875C8 #C85875 #75C858
tetradic
#5875C8 #C858AD #C8AB58 #58C873
square
#5875C8 #C858AD #C8AB58 #58C873
split-complementary
#5875C8 #C87358 #ADC858
monochromatic
#293F7D #3856AB #5875C8 #869BD7 #B4C1E6

Accessibility & contrast

On white

4.38
#5875C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#5875C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5875C8
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5875C8#FFFFFF#000000##000000
##5875C81.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#527ECB
Deuteranopia (green-blind)
#4474C6
Tritanopia (blue-blind)
#118795
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5875c8;
/* rgb */ color: rgb(88, 117, 200);
/* oklch */ color: oklch(57.9% 0.132 267.7);
Tailwind
colors: {
  custom: {
    50: '#8f9cd9',
    500: '#5875c8',
    950: '#000000',
  },
}
SCSS
$custom: #5875c8;
$custom-light: #8f9cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#5875c8",
  "rgb": {
    "r": 88,
    "g": 117,
    "b": 200
  },
  "hsl": {
    "h": 224.464,
    "s": 50.45,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57949,
    "c": 0.1321,
    "h": 267.7
  },
  "luminance": 0.18967
}

Semantic roles & 50–950 ramp

primary
#5875C8
secondary
#D5C9A7
accent
#B64EDA
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5875C8

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

Preview Lab → · Contrast checker → · Palette generator →

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