#5875DB#5875DB

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

Color values

HEX#5875DB
RGBrgb(88, 117, 219)
HSLhsl(227, 65%, 60%)
HSVhsv(227, 60%, 86%)
CMYKcmyk(59.8%, 46.6%, 0%, 14.1%)
CIE-LABlab(51.74, 20.37, -55.52)
CIE-LCHlch(51.74, 59.14, 290.15°)
OKLaboklab(59.13% -0.0023 -0.1586)
OKLCHoklch(59.13% 0.159 269.2)
XYZxyz(23.1677, 19.9098, 69.6262)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5875DB #DBBE58
analogous
#58B6DB #5875DB #7D58DB
triadic
#5875DB #DB5875 #75DB58
tetradic
#5875DB #DB58B6 #DBBE58 #58DB7D
square
#5875DB #DB58B6 #DBBE58 #58DB7D
split-complementary
#5875DB #DB7D58 #B6DB58
monochromatic
#213B98 #2C4FCA #5875DB #8A9FE6 #BDC8F1

Accessibility & contrast

On white

4.21
#5875DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#5875DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5875DB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5875DB#FFFFFF#000000##000000
##5875DB1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4481DF
Deuteranopia (green-blind)
#2E76D9
Tritanopia (blue-blind)
#008C9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5875db;
/* rgb */ color: rgb(88, 117, 219);
/* oklch */ color: oklch(59.1% 0.159 269.2);
Tailwind
colors: {
  custom: {
    50: '#929ce7',
    500: '#5875db',
    950: '#000000',
  },
}
SCSS
$custom: #5875db;
$custom-light: #929ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#5875db",
  "rgb": {
    "r": 88,
    "g": 117,
    "b": 219
  },
  "hsl": {
    "h": 226.718,
    "s": 64.532,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59134,
    "c": 0.15859,
    "h": 269.2
  },
  "luminance": 0.19912
}

Semantic roles & 50–950 ramp

primary
#5875DB
secondary
#E1D5AE
accent
#A519CC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5875DB

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

Preview Lab → · Contrast checker → · Palette generator →

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