#5874EE#5874EE

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

Color values

HEX#5874EE
RGBrgb(88, 116, 238)
HSLhsl(229, 82%, 64%)
HSVhsv(229, 63%, 93%)
CMYKcmyk(63%, 51.3%, 0%, 6.7%)
CIE-LABlab(52.66, 27.36, -64.70)
CIE-LCHlch(52.66, 70.25, 292.92°)
OKLaboklab(60.22% 0.0008 -0.1856)
OKLCHoklch(60.22% 0.186 270.2)
XYZxyz(25.6973, 20.7363, 83.5206)
Luminance0.2074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5874EE #EED258
analogous
#58BFEE #5874EE #8758EE
triadic
#5874EE #EE5874 #74EE58
tetradic
#5874EE #EE58BF #EED258 #58EE87
square
#5874EE #EE58BF #EED258 #58EE87
split-complementary
#5874EE #EE8758 #BFEE58
monochromatic
#1332B9 #2046E8 #5874EE #90A2F4 #C7D0F9

Accessibility & contrast

On white

4.08
#5874EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#5874EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5874EE
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5874EE#FFFFFF#000000##000000
##5874EE1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A85F2
Deuteranopia (green-blind)
#0077EB
Tritanopia (blue-blind)
#0091A6
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5874ee;
/* rgb */ color: rgb(88, 116, 238);
/* oklch */ color: oklch(60.2% 0.186 270.2);
Tailwind
colors: {
  custom: {
    50: '#959bf4',
    500: '#5874ee',
    950: '#000000',
  },
}
SCSS
$custom: #5874ee;
$custom-light: #959bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#5874ee",
  "rgb": {
    "r": 88,
    "g": 116,
    "b": 238
  },
  "hsl": {
    "h": 228.8,
    "s": 81.522,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60215,
    "c": 0.18559,
    "h": 270.2
  },
  "luminance": 0.20739
}

Semantic roles & 50–950 ramp

primary
#5874EE
secondary
#EBE1B7
accent
#B608DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5874EE

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

Preview Lab → · Contrast checker → · Palette generator →

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