#5875CD#5875CD

#5875CD is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.3% C 0.139 H 268.2°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#5875CD
RGBrgb(88, 117, 205)
HSLhsl(225, 54%, 57%)
HSVhsv(225, 57%, 80%)
CMYKcmyk(57.1%, 42.9%, 0%, 19.6%)
CIE-LABlab(50.92, 15.72, -48.88)
CIE-LCHlch(50.92, 51.34, 287.83°)
OKLaboklab(58.25% -0.0045 -0.1391)
OKLCHoklch(58.25% 0.139 268.2)
XYZxyz(21.4015, 19.2034, 60.3246)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5875CD #CDB058
analogous
#58B0CD #5875CD #7558CD
triadic
#5875CD #CD5875 #75CD58
tetradic
#5875CD #CD58B0 #CDB058 #58CD75
square
#5875CD #CD58B0 #CDB058 #58CD75
split-complementary
#5875CD #CD7558 #B0CD58
monochromatic
#273E83 #3554B2 #5875CD #879CDB #B6C3E9

Accessibility & contrast

On white

4.34
#5875CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#5875CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5875CD
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5875CD#FFFFFF#000000##000000
##5875CD1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7FD0
Deuteranopia (green-blind)
#3F74CB
Tritanopia (blue-blind)
#008897
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5875cd;
/* rgb */ color: rgb(88, 117, 205);
/* oklch */ color: oklch(58.3% 0.139 268.2);
Tailwind
colors: {
  custom: {
    50: '#909cdd',
    500: '#5875cd',
    950: '#000000',
  },
}
SCSS
$custom: #5875cd;
$custom-light: #909cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5875cd",
  "rgb": {
    "r": 88,
    "g": 117,
    "b": 205
  },
  "hsl": {
    "h": 225.128,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58251,
    "c": 0.13913,
    "h": 268.2
  },
  "luminance": 0.19205
}

Semantic roles & 50–950 ramp

primary
#5875CD
secondary
#D8CCA9
accent
#B94BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5875CD

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

Preview Lab → · Contrast checker → · Palette generator →

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