#5874CC#5874CC

#5874CC is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.0% C 0.139 H 268.5°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#5874CC
RGBrgb(88, 116, 204)
HSLhsl(226, 53%, 57%)
HSVhsv(226, 57%, 80%)
CMYKcmyk(56.9%, 43.1%, 0%, 20%)
CIE-LABlab(50.60, 16.00, -48.83)
CIE-LCHlch(50.60, 51.38, 288.15°)
OKLaboklab(57.98% -0.0035 -0.1389)
OKLCHoklch(57.98% 0.139 268.5)
XYZxyz(21.1653, 18.9235, 59.6523)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5874CC #CCB058
analogous
#58AECC #5874CC #7658CC
triadic
#5874CC #CC5874 #74CC58
tetradic
#5874CC #CC58AE #CCB058 #58CC76
square
#5874CC #CC58AE #CCB058 #58CC76
split-complementary
#5874CC #CC7658 #AECC58
monochromatic
#283D82 #3654B1 #5874CC #879BDA #B6C2E9

Accessibility & contrast

On white

4.39
#5874CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#5874CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5874CC
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5874CC#FFFFFF#000000##000000
##5874CC1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7ECF
Deuteranopia (green-blind)
#3E74CA
Tritanopia (blue-blind)
#048796
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5874cc;
/* rgb */ color: rgb(88, 116, 204);
/* oklch */ color: oklch(58.0% 0.139 268.5);
Tailwind
colors: {
  custom: {
    50: '#909bdc',
    500: '#5874cc',
    950: '#000000',
  },
}
SCSS
$custom: #5874cc;
$custom-light: #909bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#5874cc",
  "rgb": {
    "r": 88,
    "g": 116,
    "b": 204
  },
  "hsl": {
    "h": 225.517,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57983,
    "c": 0.13897,
    "h": 268.5
  },
  "luminance": 0.18925
}

Semantic roles & 50–950 ramp

primary
#5874CC
secondary
#D7CCA8
accent
#BA4BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5874CC

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

Preview Lab → · Contrast checker → · Palette generator →

#5874CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva