#5875E8#5875E8

#5875E8 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.0% C 0.176 H 269.8°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5875E8
RGBrgb(88, 117, 232)
HSLhsl(228, 76%, 63%)
HSVhsv(228, 62%, 91%)
CMYKcmyk(62.1%, 49.6%, 0%, 9%)
CIE-LABlab(52.53, 24.73, -61.55)
CIE-LCHlch(52.53, 66.33, 291.89°)
OKLaboklab(60% -0.0007 -0.1763)
OKLCHoklch(60% 0.176 269.8)
XYZxyz(24.9464, 20.6213, 78.9940)
Luminance0.2062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5875E8 #E8CB58
analogous
#58BDE8 #5875E8 #8358E8
triadic
#5875E8 #E85875 #75E858
tetradic
#5875E8 #E858BD #E8CB58 #58E883
square
#5875E8 #E858BD #E8CB58 #58E883
split-complementary
#5875E8 #E88358 #BDE858
monochromatic
#1836AE #2249E1 #5875E8 #8EA1EF #C4CEF7

Accessibility & contrast

On white

4.10
#5875E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#5875E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5875E8
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5875E8#FFFFFF#000000##000000
##5875E81.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3684EC
Deuteranopia (green-blind)
#1077E6
Tritanopia (blue-blind)
#0090A3
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5875e8;
/* rgb */ color: rgb(88, 117, 232);
/* oklch */ color: oklch(60.0% 0.176 269.8);
Tailwind
colors: {
  custom: {
    50: '#949cf0',
    500: '#5875e8',
    950: '#000000',
  },
}
SCSS
$custom: #5875e8;
$custom-light: #949cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#5875e8",
  "rgb": {
    "r": 88,
    "g": 117,
    "b": 232
  },
  "hsl": {
    "h": 227.917,
    "s": 75.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.59996,
    "c": 0.17631,
    "h": 269.8
  },
  "luminance": 0.20623
}

Semantic roles & 50–950 ramp

primary
#5875E8
secondary
#E8DDB4
accent
#AF0ED8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5875E8

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

Preview Lab → · Contrast checker → · Palette generator →

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