#5874E8#5874E8

#5874E8 is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.8% C 0.178 H 270.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5874E8
RGBrgb(88, 116, 232)
HSLhsl(228, 76%, 63%)
HSVhsv(228, 62%, 91%)
CMYKcmyk(62.1%, 50%, 0%, 9%)
CIE-LABlab(52.27, 25.35, -61.97)
CIE-LCHlch(52.27, 66.95, 292.25°)
OKLaboklab(59.8% 0.0002 -0.1775)
OKLCHoklch(59.8% 0.178 270.1)
XYZxyz(24.8305, 20.3895, 78.9553)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5874E8 #E8CC58
analogous
#58BCE8 #5874E8 #8458E8
triadic
#5874E8 #E85874 #74E858
tetradic
#5874E8 #E858BC #E8CC58 #58E884
square
#5874E8 #E858BC #E8CC58 #58E884
split-complementary
#5874E8 #E88458 #BCE858
monochromatic
#1835AE #2247E1 #5874E8 #8EA1EF #C4CEF7

Accessibility & contrast

On white

4.14
#5874E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#5874E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5874E8
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5874E8#FFFFFF#000000##000000
##5874E81.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3383EC
Deuteranopia (green-blind)
#0777E6
Tritanopia (blue-blind)
#008FA3
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5874e8;
/* rgb */ color: rgb(88, 116, 232);
/* oklch */ color: oklch(59.8% 0.178 270.1);
Tailwind
colors: {
  custom: {
    50: '#949bf0',
    500: '#5874e8',
    950: '#000000',
  },
}
SCSS
$custom: #5874e8;
$custom-light: #949bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#5874e8",
  "rgb": {
    "r": 88,
    "g": 116,
    "b": 232
  },
  "hsl": {
    "h": 228.333,
    "s": 75.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.59801,
    "c": 0.17754,
    "h": 270.1
  },
  "luminance": 0.20392
}

Semantic roles & 50–950 ramp

primary
#5874E8
secondary
#E8DEB4
accent
#B10ED8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5874E8

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

Preview Lab → · Contrast checker → · Palette generator →

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