#5876CA#5876CA

#5876CA is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.3% C 0.134 H 267.4°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#5876CA
RGBrgb(88, 118, 202)
HSLhsl(224, 52%, 57%)
HSVhsv(224, 56%, 79%)
CMYKcmyk(56.4%, 41.6%, 0%, 20.8%)
CIE-LABlab(51.03, 14.12, -47.00)
CIE-LCHlch(51.03, 49.07, 286.72°)
OKLaboklab(58.28% -0.0061 -0.1335)
OKLCHoklch(58.28% 0.134 267.4)
XYZxyz(21.1600, 19.2942, 58.4748)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5876CA #CAAC58
analogous
#58AFCA #5876CA #7358CA
triadic
#5876CA #CA5876 #76CA58
tetradic
#5876CA #CA58AF #CAAC58 #58CA73
square
#5876CA #CA58AF #CAAC58 #58CA73
split-complementary
#5876CA #CA7358 #AFCA58
monochromatic
#283F7F #3756AE #5876CA #869CD9 #B5C2E7

Accessibility & contrast

On white

4.32
#5876CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#5876CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5876CA
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5876CA#FFFFFF#000000##000000
##5876CA1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#527FCD
Deuteranopia (green-blind)
#4475C8
Tritanopia (blue-blind)
#0A8896
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5876ca;
/* rgb */ color: rgb(88, 118, 202);
/* oklch */ color: oklch(58.3% 0.134 267.4);
Tailwind
colors: {
  custom: {
    50: '#8f9dda',
    500: '#5876ca',
    950: '#000000',
  },
}
SCSS
$custom: #5876ca;
$custom-light: #8f9dda;
$custom-dark: #000000;
JSON
{
  "hex": "#5876ca",
  "rgb": {
    "r": 88,
    "g": 118,
    "b": 202
  },
  "hsl": {
    "h": 224.211,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58278,
    "c": 0.13368,
    "h": 267.4
  },
  "luminance": 0.19296
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5876CA

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

Preview Lab → · Contrast checker → · Palette generator →

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