#5875EC#5875EC

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

Color values

HEX#5875EC
RGBrgb(88, 117, 236)
HSLhsl(228, 80%, 64%)
HSVhsv(228, 63%, 93%)
CMYKcmyk(62.7%, 50.4%, 0%, 7.5%)
CIE-LABlab(52.79, 26.08, -63.38)
CIE-LCHlch(52.79, 68.54, 292.36°)
OKLaboklab(60.27% -0.0003 -0.1817)
OKLCHoklch(60.27% 0.182 269.9)
XYZxyz(25.5210, 20.8512, 82.0204)
Luminance0.2085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5875EC #ECCF58
analogous
#58BFEC #5875EC #8558EC
triadic
#5875EC #EC5875 #75EC58
tetradic
#5875EC #EC58BF #ECCF58 #58EC85
square
#5875EC #EC58BF #ECCF58 #58EC85
split-complementary
#5875EC #EC8558 #BFEC58
monochromatic
#1534B5 #2148E6 #5875EC #8FA2F2 #C6D0F9

Accessibility & contrast

On white

4.06
#5875EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#5875EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5875EC
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5875EC#FFFFFF#000000##000000
##5875EC1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3185F0
Deuteranopia (green-blind)
#0078EA
Tritanopia (blue-blind)
#0091A5
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5875ec;
/* rgb */ color: rgb(88, 117, 236);
/* oklch */ color: oklch(60.3% 0.182 269.9);
Tailwind
colors: {
  custom: {
    50: '#959cf3',
    500: '#5875ec',
    950: '#000000',
  },
}
SCSS
$custom: #5875ec;
$custom-light: #959cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#5875ec",
  "rgb": {
    "r": 88,
    "g": 117,
    "b": 236
  },
  "hsl": {
    "h": 228.243,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.6027,
    "c": 0.18169,
    "h": 269.9
  },
  "luminance": 0.20853
}

Semantic roles & 50–950 ramp

primary
#5875EC
secondary
#EAE0B6
accent
#B30ADC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5875EC

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

Preview Lab → · Contrast checker → · Palette generator →

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