#5875EB#5875EB

#5875EB is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.2% C 0.180 H 269.9°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#5875EB
RGBrgb(88, 117, 235)
HSLhsl(228, 79%, 63%)
HSVhsv(228, 63%, 92%)
CMYKcmyk(62.6%, 50.2%, 0%, 7.8%)
CIE-LABlab(52.72, 25.74, -62.92)
CIE-LCHlch(52.72, 67.99, 292.25°)
OKLaboklab(60.2% -0.0004 -0.1803)
OKLCHoklch(60.2% 0.18 269.9)
XYZxyz(25.3761, 20.7932, 81.2574)
Luminance0.2079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5875EB #EBCE58
analogous
#58BFEB #5875EB #8458EB
triadic
#5875EB #EB5875 #75EB58
tetradic
#5875EB #EB58BF #EBCE58 #58EB84
square
#5875EB #EB58BF #EBCE58 #58EB84
split-complementary
#5875EB #EB8458 #BFEB58
monochromatic
#1535B3 #2148E4 #5875EB #8FA2F2 #C5CFF8

Accessibility & contrast

On white

4.07
#5875EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#5875EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5875EB
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5875EB#FFFFFF#000000##000000
##5875EB1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3285EF
Deuteranopia (green-blind)
#0078E9
Tritanopia (blue-blind)
#0090A5
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5875eb;
/* rgb */ color: rgb(88, 117, 235);
/* oklch */ color: oklch(60.2% 0.180 269.9);
Tailwind
colors: {
  custom: {
    50: '#959cf2',
    500: '#5875eb',
    950: '#000000',
  },
}
SCSS
$custom: #5875eb;
$custom-light: #959cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#5875eb",
  "rgb": {
    "r": 88,
    "g": 117,
    "b": 235
  },
  "hsl": {
    "h": 228.163,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60201,
    "c": 0.18034,
    "h": 269.9
  },
  "luminance": 0.20795
}

Semantic roles & 50–950 ramp

primary
#5875EB
secondary
#EADFB5
accent
#B20BDB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5875EB

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

Preview Lab → · Contrast checker → · Palette generator →

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