#5874CD#5874CD

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

Color values

HEX#5874CD
RGBrgb(88, 116, 205)
HSLhsl(226, 54%, 57%)
HSVhsv(226, 57%, 80%)
CMYKcmyk(57.1%, 43.4%, 0%, 19.6%)
CIE-LABlab(50.65, 16.33, -49.31)
CIE-LCHlch(50.65, 51.94, 288.33°)
OKLaboklab(58.04% -0.0034 -0.1403)
OKLCHoklch(58.04% 0.14 268.6)
XYZxyz(21.2857, 18.9716, 60.2860)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5874CD #CDB158
analogous
#58AFCD #5874CD #7758CD
triadic
#5874CD #CD5874 #74CD58
tetradic
#5874CD #CD58AF #CDB158 #58CD77
square
#5874CD #CD58AF #CDB158 #58CD77
split-complementary
#5874CD #CD7758 #AFCD58
monochromatic
#273D83 #3553B2 #5874CD #879BDB #B6C2E9

Accessibility & contrast

On white

4.38
#5874CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5874CD#FFFFFF#000000##000000
##5874CD1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7ED0
Deuteranopia (green-blind)
#3D74CB
Tritanopia (blue-blind)
#008896
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5874cd;
/* rgb */ color: rgb(88, 116, 205);
/* oklch */ color: oklch(58.0% 0.140 268.6);
Tailwind
colors: {
  custom: {
    50: '#909bdd',
    500: '#5874cd',
    950: '#000000',
  },
}
SCSS
$custom: #5874cd;
$custom-light: #909bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5874cd",
  "rgb": {
    "r": 88,
    "g": 116,
    "b": 205
  },
  "hsl": {
    "h": 225.641,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58044,
    "c": 0.14037,
    "h": 268.6
  },
  "luminance": 0.18973
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5874CD

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

Preview Lab → · Contrast checker → · Palette generator →

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