#5874CE#5874CE

#5874CE is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.1% C 0.142 H 268.7°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5874CE
RGBrgb(88, 116, 206)
HSLhsl(226, 55%, 58%)
HSVhsv(226, 57%, 81%)
CMYKcmyk(57.3%, 43.7%, 0%, 19.2%)
CIE-LABlab(50.71, 16.66, -49.79)
CIE-LCHlch(50.71, 52.50, 288.51°)
OKLaboklab(58.11% -0.0032 -0.1417)
OKLCHoklch(58.11% 0.142 268.7)
XYZxyz(21.4067, 19.0201, 60.9237)
Luminance0.1902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5874CE #CEB258
analogous
#58AFCE #5874CE #7758CE
triadic
#5874CE #CE5874 #74CE58
tetradic
#5874CE #CE58AF #CEB258 #58CE77
square
#5874CE #CE58AF #CEB258 #58CE77
split-complementary
#5874CE #CE7758 #AFCE58
monochromatic
#273D85 #3553B4 #5874CE #879BDC #B7C3EA

Accessibility & contrast

On white

4.37
#5874CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#5874CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5874CE
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5874CE#FFFFFF#000000##000000
##5874CE1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5874ce;
/* rgb */ color: rgb(88, 116, 206);
/* oklch */ color: oklch(58.1% 0.142 268.7);
Tailwind
colors: {
  custom: {
    50: '#909bdd',
    500: '#5874ce',
    950: '#000000',
  },
}
SCSS
$custom: #5874ce;
$custom-light: #909bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5874ce",
  "rgb": {
    "r": 88,
    "g": 116,
    "b": 206
  },
  "hsl": {
    "h": 225.763,
    "s": 54.63,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58106,
    "c": 0.14178,
    "h": 268.7
  },
  "luminance": 0.19022
}

Semantic roles & 50–950 ramp

primary
#5874CE
secondary
#D9CDA9
accent
#BB4ADE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5874CE

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

Preview Lab → · Contrast checker → · Palette generator →

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