#5874ED#5874ED

#5874ED is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.1% C 0.184 H 270.2°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#5874ED
RGBrgb(88, 116, 237)
HSLhsl(229, 81%, 64%)
HSVhsv(229, 63%, 93%)
CMYKcmyk(62.9%, 51.1%, 0%, 7.1%)
CIE-LABlab(52.59, 27.03, -64.25)
CIE-LCHlch(52.59, 69.70, 292.82°)
OKLaboklab(60.15% 0.0007 -0.1842)
OKLCHoklch(60.15% 0.184 270.2)
XYZxyz(25.5508, 20.6777, 82.7490)
Luminance0.2068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5874ED #EDD158
analogous
#58BEED #5874ED #8658ED
triadic
#5874ED #ED5874 #74ED58
tetradic
#5874ED #ED58BE #EDD158 #58ED86
square
#5874ED #ED58BE #EDD158 #58ED86
split-complementary
#5874ED #ED8658 #BEED58
monochromatic
#1432B7 #2146E7 #5874ED #8FA2F3 #C6D0F9

Accessibility & contrast

On white

4.09
#5874ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#5874ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5874ED
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5874ED#FFFFFF#000000##000000
##5874ED1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C84F1
Deuteranopia (green-blind)
#0077EB
Tritanopia (blue-blind)
#0090A5
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5874ed;
/* rgb */ color: rgb(88, 116, 237);
/* oklch */ color: oklch(60.1% 0.184 270.2);
Tailwind
colors: {
  custom: {
    50: '#959bf4',
    500: '#5874ed',
    950: '#000000',
  },
}
SCSS
$custom: #5874ed;
$custom-light: #959bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#5874ed",
  "rgb": {
    "r": 88,
    "g": 116,
    "b": 237
  },
  "hsl": {
    "h": 228.725,
    "s": 80.541,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60145,
    "c": 0.18425,
    "h": 270.2
  },
  "luminance": 0.2068
}

Semantic roles & 50–950 ramp

primary
#5874ED
secondary
#EBE1B6
accent
#B509DD
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5874ED

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

Preview Lab → · Contrast checker → · Palette generator →

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