#5875CE#5875CE

#5875CE is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.3% C 0.141 H 268.3°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5875CE
RGBrgb(88, 117, 206)
HSLhsl(225, 55%, 58%)
HSVhsv(225, 57%, 81%)
CMYKcmyk(57.3%, 43.2%, 0%, 19.2%)
CIE-LABlab(50.98, 16.05, -49.36)
CIE-LCHlch(50.98, 51.90, 288.01°)
OKLaboklab(58.31% -0.0043 -0.1405)
OKLCHoklch(58.31% 0.141 268.3)
XYZxyz(21.5226, 19.2518, 60.9624)
Luminance0.1925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5875CE #CEB158
analogous
#58B0CE #5875CE #7658CE
triadic
#5875CE #CE5875 #75CE58
tetradic
#5875CE #CE58B0 #CEB158 #58CE76
square
#5875CE #CE58B0 #CEB158 #58CE76
split-complementary
#5875CE #CE7658 #B0CE58
monochromatic
#273E85 #3554B4 #5875CE #879CDC #B7C3EA

Accessibility & contrast

On white

4.33
#5875CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#5875CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5875CE
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5875CE#FFFFFF#000000##000000
##5875CE1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7FD1
Deuteranopia (green-blind)
#3E74CC
Tritanopia (blue-blind)
#008997
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5875ce;
/* rgb */ color: rgb(88, 117, 206);
/* oklch */ color: oklch(58.3% 0.141 268.3);
Tailwind
colors: {
  custom: {
    50: '#909cdd',
    500: '#5875ce',
    950: '#000000',
  },
}
SCSS
$custom: #5875ce;
$custom-light: #909cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5875ce",
  "rgb": {
    "r": 88,
    "g": 117,
    "b": 206
  },
  "hsl": {
    "h": 225.254,
    "s": 54.63,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58313,
    "c": 0.14054,
    "h": 268.3
  },
  "luminance": 0.19254
}

Semantic roles & 50–950 ramp

primary
#5875CE
secondary
#D9CDA9
accent
#BA4ADE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5875CE

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

Preview Lab → · Contrast checker → · Palette generator →

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