#5875EE#5875EE

#5875EE is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.4% C 0.184 H 270.0°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#5875EE
RGBrgb(88, 117, 238)
HSLhsl(228, 82%, 64%)
HSVhsv(228, 63%, 93%)
CMYKcmyk(63%, 50.8%, 0%, 6.7%)
CIE-LABlab(52.91, 26.75, -64.29)
CIE-LCHlch(52.91, 69.63, 292.59°)
OKLaboklab(60.41% -0.0002 -0.1844)
OKLCHoklch(60.41% 0.184 270)
XYZxyz(25.8132, 20.9681, 83.5593)
Luminance0.2097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5875EE #EED158
analogous
#58C0EE #5875EE #8658EE
triadic
#5875EE #EE5875 #75EE58
tetradic
#5875EE #EE58C0 #EED158 #58EE86
square
#5875EE #EE58C0 #EED158 #58EE86
split-complementary
#5875EE #EE8658 #C0EE58
monochromatic
#1333B9 #2047E8 #5875EE #90A3F4 #C7D1F9

Accessibility & contrast

On white

4.04
#5875EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#5875EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5875EE
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5875EE#FFFFFF#000000##000000
##5875EE1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E85F2
Deuteranopia (green-blind)
#0078EC
Tritanopia (blue-blind)
#0091A6
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5875ee;
/* rgb */ color: rgb(88, 117, 238);
/* oklch */ color: oklch(60.4% 0.184 270.0);
Tailwind
colors: {
  custom: {
    50: '#959cf4',
    500: '#5875ee',
    950: '#000000',
  },
}
SCSS
$custom: #5875ee;
$custom-light: #959cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#5875ee",
  "rgb": {
    "r": 88,
    "g": 117,
    "b": 238
  },
  "hsl": {
    "h": 228.4,
    "s": 81.522,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60408,
    "c": 0.18436,
    "h": 270
  },
  "luminance": 0.2097
}

Semantic roles & 50–950 ramp

primary
#5875EE
secondary
#EBE1B7
accent
#B408DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5875EE

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

Preview Lab → · Contrast checker → · Palette generator →

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