#5875EA#5875EA

#5875EA is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.1% C 0.179 H 269.8°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#5875EA
RGBrgb(88, 117, 234)
HSLhsl(228, 78%, 63%)
HSVhsv(228, 62%, 92%)
CMYKcmyk(62.4%, 50%, 0%, 8.2%)
CIE-LABlab(52.66, 25.40, -62.47)
CIE-LCHlch(52.66, 67.44, 292.13°)
OKLaboklab(60.13% -0.0005 -0.179)
OKLCHoklch(60.13% 0.179 269.8)
XYZxyz(25.2321, 20.7356, 80.4986)
Luminance0.2074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5875EA #EACD58
analogous
#58BEEA #5875EA #8458EA
triadic
#5875EA #EA5875 #75EA58
tetradic
#5875EA #EA58BE #EACD58 #58EA84
square
#5875EA #EA58BE #EACD58 #58EA84
split-complementary
#5875EA #EA8458 #BEEA58
monochromatic
#1635B1 #2248E3 #5875EA #8EA2F1 #C5CFF8

Accessibility & contrast

On white

4.08
#5875EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#5875EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5875EA
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5875EA#FFFFFF#000000##000000
##5875EA1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3385EE
Deuteranopia (green-blind)
#0577E8
Tritanopia (blue-blind)
#0090A4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5875ea;
/* rgb */ color: rgb(88, 117, 234);
/* oklch */ color: oklch(60.1% 0.179 269.8);
Tailwind
colors: {
  custom: {
    50: '#949cf1',
    500: '#5875ea',
    950: '#000000',
  },
}
SCSS
$custom: #5875ea;
$custom-light: #949cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#5875ea",
  "rgb": {
    "r": 88,
    "g": 117,
    "b": 234
  },
  "hsl": {
    "h": 228.082,
    "s": 77.66,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60132,
    "c": 0.179,
    "h": 269.8
  },
  "luminance": 0.20738
}

Semantic roles & 50–950 ramp

primary
#5875EA
secondary
#E9DFB5
accent
#B10CDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5875EA

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

Preview Lab → · Contrast checker → · Palette generator →

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