#5875E6#5875E6

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

Color values

HEX#5875E6
RGBrgb(88, 117, 230)
HSLhsl(228, 74%, 62%)
HSVhsv(228, 62%, 90%)
CMYKcmyk(61.7%, 49.1%, 0%, 9.8%)
CIE-LABlab(52.41, 24.06, -60.63)
CIE-LCHlch(52.41, 65.23, 291.64°)
OKLaboklab(59.86% -0.0009 -0.1736)
OKLCHoklch(59.86% 0.174 269.7)
XYZxyz(24.6639, 20.5083, 77.5063)
Luminance0.2051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5875E6 #E6C958
analogous
#58BCE6 #5875E6 #8258E6
triadic
#5875E6 #E65875 #75E658
tetradic
#5875E6 #E658BC #E6C958 #58E682
square
#5875E6 #E658BC #E6C958 #58E682
split-complementary
#5875E6 #E68258 #BCE658
monochromatic
#1937AA #2349DE #5875E6 #8DA1EE #C2CDF6

Accessibility & contrast

On white

4.12
#5875E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#5875E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5875E6
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5875E6#FFFFFF#000000##000000
##5875E61.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3884EA
Deuteranopia (green-blind)
#1777E4
Tritanopia (blue-blind)
#008FA3
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5875e6;
/* rgb */ color: rgb(88, 117, 230);
/* oklch */ color: oklch(59.9% 0.174 269.7);
Tailwind
colors: {
  custom: {
    50: '#949cef',
    500: '#5875e6',
    950: '#000000',
  },
}
SCSS
$custom: #5875e6;
$custom-light: #949cef;
$custom-dark: #000000;
JSON
{
  "hex": "#5875e6",
  "rgb": {
    "r": 88,
    "g": 117,
    "b": 230
  },
  "hsl": {
    "h": 227.746,
    "s": 73.958,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59861,
    "c": 0.1736,
    "h": 269.7
  },
  "luminance": 0.2051
}

Semantic roles & 50–950 ramp

primary
#5875E6
secondary
#E7DCB3
accent
#AE0FD6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5875E6

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

Preview Lab → · Contrast checker → · Palette generator →

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