#5874E9#5874E9

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

Color values

HEX#5874E9
RGBrgb(88, 116, 233)
HSLhsl(228, 77%, 63%)
HSVhsv(228, 62%, 91%)
CMYKcmyk(62.2%, 50.2%, 0%, 8.6%)
CIE-LABlab(52.34, 25.68, -62.42)
CIE-LCHlch(52.34, 67.50, 292.36°)
OKLaboklab(59.87% 0.0003 -0.1789)
OKLCHoklch(59.87% 0.179 270.1)
XYZxyz(24.9729, 20.4465, 79.7055)
Luminance0.2045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5874E9 #E9CD58
analogous
#58BCE9 #5874E9 #8458E9
triadic
#5874E9 #E95874 #74E958
tetradic
#5874E9 #E958BC #E9CD58 #58E984
square
#5874E9 #E958BC #E9CD58 #58E984
split-complementary
#5874E9 #E98458 #BCE958
monochromatic
#1735AF #2247E2 #5874E9 #8EA1F0 #C4CEF7

Accessibility & contrast

On white

4.13
#5874E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#5874E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5874E9
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5874E9#FFFFFF#000000##000000
##5874E91.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3284ED
Deuteranopia (green-blind)
#0177E7
Tritanopia (blue-blind)
#008FA4
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5874e9;
/* rgb */ color: rgb(88, 116, 233);
/* oklch */ color: oklch(59.9% 0.179 270.1);
Tailwind
colors: {
  custom: {
    50: '#949bf1',
    500: '#5874e9',
    950: '#000000',
  },
}
SCSS
$custom: #5874e9;
$custom-light: #949bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#5874e9",
  "rgb": {
    "r": 88,
    "g": 116,
    "b": 233
  },
  "hsl": {
    "h": 228.414,
    "s": 76.72,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59869,
    "c": 0.17889,
    "h": 270.1
  },
  "luminance": 0.20449
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5874E9

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

Preview Lab → · Contrast checker → · Palette generator →

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