#5875D9#5875D9

#5875D9 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.0% C 0.156 H 269.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5875D9
RGBrgb(88, 117, 217)
HSLhsl(227, 63%, 60%)
HSVhsv(227, 59%, 85%)
CMYKcmyk(59.4%, 46.1%, 0%, 14.9%)
CIE-LABlab(51.62, 19.70, -54.58)
CIE-LCHlch(51.62, 58.03, 289.85°)
OKLaboklab(59.01% -0.0026 -0.1558)
OKLCHoklch(59.01% 0.156 269.1)
XYZxyz(22.9060, 19.8052, 68.2479)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5875D9 #D9BC58
analogous
#58B5D9 #5875D9 #7C58D9
triadic
#5875D9 #D95875 #75D958
tetradic
#5875D9 #D958B5 #D9BC58 #58D97C
square
#5875D9 #D958B5 #D9BC58 #58D97C
split-complementary
#5875D9 #D97C58 #B5D958
monochromatic
#223C95 #2D50C7 #5875D9 #8A9EE4 #BCC7F0

Accessibility & contrast

On white

4.23
#5875D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#5875D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5875D9
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5875D9#FFFFFF#000000##000000
##5875D91.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4581DD
Deuteranopia (green-blind)
#3176D7
Tritanopia (blue-blind)
#008C9C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5875d9;
/* rgb */ color: rgb(88, 117, 217);
/* oklch */ color: oklch(59.0% 0.156 269.1);
Tailwind
colors: {
  custom: {
    50: '#929ce5',
    500: '#5875d9',
    950: '#000000',
  },
}
SCSS
$custom: #5875d9;
$custom-light: #929ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#5875d9",
  "rgb": {
    "r": 88,
    "g": 117,
    "b": 217
  },
  "hsl": {
    "h": 226.512,
    "s": 62.927,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59005,
    "c": 0.15583,
    "h": 269.1
  },
  "luminance": 0.19807
}

Semantic roles & 50–950 ramp

primary
#5875D9
secondary
#DFD4AD
accent
#C142E6
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5875D9

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

Preview Lab → · Contrast checker → · Palette generator →

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