#5875E7#5875E7

#5875E7 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.9% C 0.175 H 269.7°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#5875E7
RGBrgb(88, 117, 231)
HSLhsl(228, 75%, 63%)
HSVhsv(228, 62%, 91%)
CMYKcmyk(61.9%, 49.4%, 0%, 9.4%)
CIE-LABlab(52.47, 24.39, -61.09)
CIE-LCHlch(52.47, 65.78, 291.77°)
OKLaboklab(59.93% -0.0008 -0.1749)
OKLCHoklch(59.93% 0.175 269.7)
XYZxyz(24.8047, 20.5647, 78.2480)
Luminance0.2057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5875E7 #E7CA58
analogous
#58BDE7 #5875E7 #8258E7
triadic
#5875E7 #E75875 #75E758
tetradic
#5875E7 #E758BD #E7CA58 #58E782
square
#5875E7 #E758BD #E7CA58 #58E782
split-complementary
#5875E7 #E78258 #BDE758
monochromatic
#1937AC #2249DF #5875E7 #8EA1EF #C3CDF6

Accessibility & contrast

On white

4.11
#5875E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#5875E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5875E7
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5875E7#FFFFFF#000000##000000
##5875E71.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3784EB
Deuteranopia (green-blind)
#1477E5
Tritanopia (blue-blind)
#008FA3
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5875e7;
/* rgb */ color: rgb(88, 117, 231);
/* oklch */ color: oklch(59.9% 0.175 269.7);
Tailwind
colors: {
  custom: {
    50: '#949cef',
    500: '#5875e7',
    950: '#000000',
  },
}
SCSS
$custom: #5875e7;
$custom-light: #949cef;
$custom-dark: #000000;
JSON
{
  "hex": "#5875e7",
  "rgb": {
    "r": 88,
    "g": 117,
    "b": 231
  },
  "hsl": {
    "h": 227.832,
    "s": 74.869,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59928,
    "c": 0.17495,
    "h": 269.7
  },
  "luminance": 0.20567
}

Semantic roles & 50–950 ramp

primary
#5875E7
secondary
#E7DDB3
accent
#AE0ED7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5875E7

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

Preview Lab → · Contrast checker → · Palette generator →

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