#5874DC#5874DC

#5874DC is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.0% C 0.161 H 269.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5874DC
RGBrgb(88, 116, 220)
HSLhsl(227, 65%, 60%)
HSVhsv(227, 60%, 86%)
CMYKcmyk(60%, 47.3%, 0%, 13.7%)
CIE-LABlab(51.53, 21.32, -56.41)
CIE-LCHlch(51.53, 60.31, 290.70°)
OKLaboklab(59% -0.0011 -0.1612)
OKLCHoklch(59% 0.161 269.6)
XYZxyz(23.1838, 19.7309, 70.2830)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5874DC #DCC058
analogous
#58B6DC #5874DC #7E58DC
triadic
#5874DC #DC5874 #74DC58
tetradic
#5874DC #DC58B6 #DCC058 #58DC7E
square
#5874DC #DC58B6 #DCC058 #58DC7E
split-complementary
#5874DC #DC7E58 #B6DC58
monochromatic
#203A99 #2B4DCC #5874DC #8B9EE7 #BDC8F1

Accessibility & contrast

On white

4.25
#5874DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#5874DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5874DC
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5874DC#FFFFFF#000000##000000
##5874DC1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4181E0
Deuteranopia (green-blind)
#2A75DA
Tritanopia (blue-blind)
#008C9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5874dc;
/* rgb */ color: rgb(88, 116, 220);
/* oklch */ color: oklch(59.0% 0.161 269.6);
Tailwind
colors: {
  custom: {
    50: '#929be7',
    500: '#5874dc',
    950: '#000000',
  },
}
SCSS
$custom: #5874dc;
$custom-light: #929be7;
$custom-dark: #000000;
JSON
{
  "hex": "#5874dc",
  "rgb": {
    "r": 88,
    "g": 116,
    "b": 220
  },
  "hsl": {
    "h": 227.273,
    "s": 65.347,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58998,
    "c": 0.1612,
    "h": 269.6
  },
  "luminance": 0.19733
}

Semantic roles & 50–950 ramp

primary
#5874DC
secondary
#E1D6AF
accent
#A718CD
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5874DC

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

Preview Lab → · Contrast checker → · Palette generator →

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