#5874E7#5874E7

#5874E7 is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.7% C 0.176 H 270.0°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#5874E7
RGBrgb(88, 116, 231)
HSLhsl(228, 75%, 63%)
HSVhsv(228, 62%, 91%)
CMYKcmyk(61.9%, 49.8%, 0%, 9.4%)
CIE-LABlab(52.21, 25.01, -61.51)
CIE-LCHlch(52.21, 66.40, 292.13°)
OKLaboklab(59.73% 0.0001 -0.1762)
OKLCHoklch(59.73% 0.176 270)
XYZxyz(24.6888, 20.3329, 78.2094)
Luminance0.2034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5874E7 #E7CB58
analogous
#58BBE7 #5874E7 #8458E7
triadic
#5874E7 #E75874 #74E758
tetradic
#5874E7 #E758BB #E7CB58 #58E784
square
#5874E7 #E758BB #E7CB58 #58E784
split-complementary
#5874E7 #E78458 #BBE758
monochromatic
#1936AC #2247DF #5874E7 #8EA1EF #C3CDF6

Accessibility & contrast

On white

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

On black

5.07
#5874E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5874E7
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5874E7#FFFFFF#000000##000000
##5874E71.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3583EB
Deuteranopia (green-blind)
#0D76E5
Tritanopia (blue-blind)
#008FA3
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5874e7;
/* rgb */ color: rgb(88, 116, 231);
/* oklch */ color: oklch(59.7% 0.176 270.0);
Tailwind
colors: {
  custom: {
    50: '#949bef',
    500: '#5874e7',
    950: '#000000',
  },
}
SCSS
$custom: #5874e7;
$custom-light: #949bef;
$custom-dark: #000000;
JSON
{
  "hex": "#5874e7",
  "rgb": {
    "r": 88,
    "g": 116,
    "b": 231
  },
  "hsl": {
    "h": 228.252,
    "s": 74.869,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59733,
    "c": 0.17619,
    "h": 270
  },
  "luminance": 0.20335
}

Semantic roles & 50–950 ramp

primary
#5874E7
secondary
#E7DDB3
accent
#B00ED7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5874E7

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

Preview Lab → · Contrast checker → · Palette generator →

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