#5875DE#5875DE

#5875DE is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.3% C 0.163 H 269.3°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#5875DE
RGBrgb(88, 117, 222)
HSLhsl(227, 67%, 61%)
HSVhsv(227, 60%, 87%)
CMYKcmyk(60.4%, 47.3%, 0%, 12.9%)
CIE-LABlab(51.92, 21.38, -56.92)
CIE-LCHlch(51.92, 60.81, 290.58°)
OKLaboklab(59.33% -0.0019 -0.1627)
OKLCHoklch(59.33% 0.163 269.3)
XYZxyz(23.5662, 20.0692, 71.7249)
Luminance0.2007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5875DE #DEC158
analogous
#58B8DE #5875DE #7E58DE
triadic
#5875DE #DE5875 #75DE58
tetradic
#5875DE #DE58B8 #DEC158 #58DE7E
square
#5875DE #DE58B8 #DEC158 #58DE7E
split-complementary
#5875DE #DE7E58 #B8DE58
monochromatic
#1F3A9D #294DD0 #5875DE #8B9FE8 #BEC9F2

Accessibility & contrast

On white

4.19
#5875DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#5875DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5875DE
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5875DE#FFFFFF#000000##000000
##5875DE1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4182E2
Deuteranopia (green-blind)
#2976DC
Tritanopia (blue-blind)
#008D9F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5875de;
/* rgb */ color: rgb(88, 117, 222);
/* oklch */ color: oklch(59.3% 0.163 269.3);
Tailwind
colors: {
  custom: {
    50: '#929ce9',
    500: '#5875de',
    950: '#000000',
  },
}
SCSS
$custom: #5875de;
$custom-light: #929ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#5875de",
  "rgb": {
    "r": 88,
    "g": 117,
    "b": 222
  },
  "hsl": {
    "h": 227.015,
    "s": 67,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59329,
    "c": 0.16271,
    "h": 269.3
  },
  "luminance": 0.20071
}

Semantic roles & 50–950 ramp

primary
#5875DE
secondary
#E2D7B0
accent
#A717CF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5875DE

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

Preview Lab → · Contrast checker → · Palette generator →

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