#5874EA#5874EA

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

Color values

HEX#5874EA
RGBrgb(88, 116, 234)
HSLhsl(228, 78%, 63%)
HSVhsv(228, 62%, 92%)
CMYKcmyk(62.4%, 50.4%, 0%, 8.2%)
CIE-LABlab(52.40, 26.02, -62.88)
CIE-LCHlch(52.40, 68.05, 292.48°)
OKLaboklab(59.94% 0.0004 -0.1802)
OKLCHoklch(59.94% 0.18 270.1)
XYZxyz(25.1162, 20.5038, 80.4600)
Luminance0.2051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5874EA #EACE58
analogous
#58BDEA #5874EA #8558EA
triadic
#5874EA #EA5874 #74EA58
tetradic
#5874EA #EA58BD #EACE58 #58EA85
square
#5874EA #EA58BD #EACE58 #58EA85
split-complementary
#5874EA #EA8558 #BDEA58
monochromatic
#1634B1 #2247E3 #5874EA #8EA1F1 #C5CEF8

Accessibility & contrast

On white

4.12
#5874EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#5874EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5874EA
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5874EA#FFFFFF#000000##000000
##5874EA1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3084EE
Deuteranopia (green-blind)
#0077E8
Tritanopia (blue-blind)
#008FA4
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5874ea;
/* rgb */ color: rgb(88, 116, 234);
/* oklch */ color: oklch(59.9% 0.180 270.1);
Tailwind
colors: {
  custom: {
    50: '#949bf1',
    500: '#5874ea',
    950: '#000000',
  },
}
SCSS
$custom: #5874ea;
$custom-light: #949bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#5874ea",
  "rgb": {
    "r": 88,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 228.493,
    "s": 77.66,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59938,
    "c": 0.18023,
    "h": 270.1
  },
  "luminance": 0.20506
}

Semantic roles & 50–950 ramp

primary
#5874EA
secondary
#E9DFB5
accent
#B20CDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5874EA

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

Preview Lab → · Contrast checker → · Palette generator →

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