#5875ED#5875ED

#5875ED is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.3% C 0.183 H 269.9°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#5875ED
RGBrgb(88, 117, 237)
HSLhsl(228, 81%, 64%)
HSVhsv(228, 63%, 93%)
CMYKcmyk(62.9%, 50.6%, 0%, 7.1%)
CIE-LABlab(52.85, 26.41, -63.84)
CIE-LCHlch(52.85, 69.08, 292.48°)
OKLaboklab(60.34% -0.0002 -0.183)
OKLCHoklch(60.34% 0.183 269.9)
XYZxyz(25.6667, 20.9095, 82.7877)
Luminance0.2091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5875ED #EDD058
analogous
#58BFED #5875ED #8558ED
triadic
#5875ED #ED5875 #75ED58
tetradic
#5875ED #ED58BF #EDD058 #58ED85
square
#5875ED #ED58BF #EDD058 #58ED85
split-complementary
#5875ED #ED8558 #BFED58
monochromatic
#1433B7 #2147E7 #5875ED #8FA3F3 #C6D0F9

Accessibility & contrast

On white

4.05
#5875ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#5875ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5875ED
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5875ED#FFFFFF#000000##000000
##5875ED1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F85F1
Deuteranopia (green-blind)
#0078EB
Tritanopia (blue-blind)
#0091A6
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5875ed;
/* rgb */ color: rgb(88, 117, 237);
/* oklch */ color: oklch(60.3% 0.183 269.9);
Tailwind
colors: {
  custom: {
    50: '#959cf4',
    500: '#5875ed',
    950: '#000000',
  },
}
SCSS
$custom: #5875ed;
$custom-light: #959cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#5875ed",
  "rgb": {
    "r": 88,
    "g": 117,
    "b": 237
  },
  "hsl": {
    "h": 228.322,
    "s": 80.541,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60338,
    "c": 0.18303,
    "h": 269.9
  },
  "luminance": 0.20912
}

Semantic roles & 50–950 ramp

primary
#5875ED
secondary
#EBE0B6
accent
#B409DD
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5875ED

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

Preview Lab → · Contrast checker → · Palette generator →

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