#5875DA#5875DA

#5875DA is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.1% C 0.157 H 269.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#5875DA
RGBrgb(88, 117, 218)
HSLhsl(227, 64%, 60%)
HSVhsv(227, 60%, 85%)
CMYKcmyk(59.6%, 46.3%, 0%, 14.5%)
CIE-LABlab(51.68, 20.04, -55.05)
CIE-LCHlch(51.68, 58.59, 290.00°)
OKLaboklab(59.07% -0.0024 -0.1572)
OKLCHoklch(59.07% 0.157 269.1)
XYZxyz(23.0364, 19.8574, 68.9350)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5875DA #DABD58
analogous
#58B6DA #5875DA #7C58DA
triadic
#5875DA #DA5875 #75DA58
tetradic
#5875DA #DA58B6 #DABD58 #58DA7C
square
#5875DA #DA58B6 #DABD58 #58DA7C
split-complementary
#5875DA #DA7C58 #B6DA58
monochromatic
#213B96 #2C4FC8 #5875DA #8A9EE5 #BCC8F0

Accessibility & contrast

On white

4.22
#5875DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#5875DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5875DA
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5875DA#FFFFFF#000000##000000
##5875DA1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4481DE
Deuteranopia (green-blind)
#3076D8
Tritanopia (blue-blind)
#008C9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5875da;
/* rgb */ color: rgb(88, 117, 218);
/* oklch */ color: oklch(59.1% 0.157 269.1);
Tailwind
colors: {
  custom: {
    50: '#929ce6',
    500: '#5875da',
    950: '#000000',
  },
}
SCSS
$custom: #5875da;
$custom-light: #929ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#5875da",
  "rgb": {
    "r": 88,
    "g": 117,
    "b": 218
  },
  "hsl": {
    "h": 226.615,
    "s": 63.725,
    "l": 60
  },
  "oklch": {
    "l": 0.59069,
    "c": 0.15721,
    "h": 269.1
  },
  "luminance": 0.19859
}

Semantic roles & 50–950 ramp

primary
#5875DA
secondary
#E0D5AE
accent
#C241E7
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5875DA

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

Preview Lab → · Contrast checker → · Palette generator →

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