#5875CC#5875CC

#5875CC is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.2% C 0.138 H 268.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#5875CC
RGBrgb(88, 117, 204)
HSLhsl(225, 53%, 57%)
HSVhsv(225, 57%, 80%)
CMYKcmyk(56.9%, 42.6%, 0%, 20%)
CIE-LABlab(50.87, 15.39, -48.40)
CIE-LCHlch(50.87, 50.78, 287.64°)
OKLaboklab(58.19% -0.0046 -0.1376)
OKLCHoklch(58.19% 0.138 268.1)
XYZxyz(21.2812, 19.1553, 59.6909)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5875CC #CCAF58
analogous
#58AFCC #5875CC #7558CC
triadic
#5875CC #CC5875 #75CC58
tetradic
#5875CC #CC58AF #CCAF58 #58CC75
square
#5875CC #CC58AF #CCAF58 #58CC75
split-complementary
#5875CC #CC7558 #AFCC58
monochromatic
#283E82 #3655B1 #5875CC #879CDA #B6C2E9

Accessibility & contrast

On white

4.35
#5875CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#5875CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5875CC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5875CC#FFFFFF#000000##000000
##5875CC1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7FCF
Deuteranopia (green-blind)
#4074CA
Tritanopia (blue-blind)
#038896
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5875cc;
/* rgb */ color: rgb(88, 117, 204);
/* oklch */ color: oklch(58.2% 0.138 268.1);
Tailwind
colors: {
  custom: {
    50: '#909cdc',
    500: '#5875cc',
    950: '#000000',
  },
}
SCSS
$custom: #5875cc;
$custom-light: #909cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#5875cc",
  "rgb": {
    "r": 88,
    "g": 117,
    "b": 204
  },
  "hsl": {
    "h": 225,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5819,
    "c": 0.13773,
    "h": 268.1
  },
  "luminance": 0.19157
}

Semantic roles & 50–950 ramp

primary
#5875CC
secondary
#D7CCA8
accent
#B84BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5875CC

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

Preview Lab → · Contrast checker → · Palette generator →

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