#5875CA#5875CA

#5875CA is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.1% C 0.135 H 267.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5875CA
RGBrgb(88, 117, 202)
HSLhsl(225, 52%, 57%)
HSVhsv(225, 56%, 79%)
CMYKcmyk(56.4%, 42.1%, 0%, 20.8%)
CIE-LABlab(50.76, 14.73, -47.43)
CIE-LCHlch(50.76, 49.67, 287.25°)
OKLaboklab(58.07% -0.005 -0.1348)
OKLCHoklch(58.07% 0.135 267.9)
XYZxyz(21.0429, 19.0599, 58.4357)
Luminance0.1906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5875CA #CAAD58
analogous
#58AECA #5875CA #7458CA
triadic
#5875CA #CA5875 #75CA58
tetradic
#5875CA #CA58AE #CAAD58 #58CA74
square
#5875CA #CA58AE #CAAD58 #58CA74
split-complementary
#5875CA #CA7458 #AECA58
monochromatic
#283E7F #3755AE #5875CA #869BD9 #B5C2E7

Accessibility & contrast

On white

4.36
#5875CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#5875CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5875CA
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5875CA#FFFFFF#000000##000000
##5875CA1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#507ECD
Deuteranopia (green-blind)
#4274C8
Tritanopia (blue-blind)
#0B8896
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5875ca;
/* rgb */ color: rgb(88, 117, 202);
/* oklch */ color: oklch(58.1% 0.135 267.9);
Tailwind
colors: {
  custom: {
    50: '#8f9cda',
    500: '#5875ca',
    950: '#000000',
  },
}
SCSS
$custom: #5875ca;
$custom-light: #8f9cda;
$custom-dark: #000000;
JSON
{
  "hex": "#5875ca",
  "rgb": {
    "r": 88,
    "g": 117,
    "b": 202
  },
  "hsl": {
    "h": 224.737,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58069,
    "c": 0.13491,
    "h": 267.9
  },
  "luminance": 0.19062
}

Semantic roles & 50–950 ramp

primary
#5875CA
secondary
#D6CAA8
accent
#B74DDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5875CA

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

Preview Lab → · Contrast checker → · Palette generator →

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