#5874EB#5874EB

#5874EB is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.0% C 0.182 H 270.2°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#5874EB
RGBrgb(88, 116, 235)
HSLhsl(229, 79%, 63%)
HSVhsv(229, 63%, 92%)
CMYKcmyk(62.6%, 50.6%, 0%, 7.8%)
CIE-LABlab(52.47, 26.35, -63.34)
CIE-LCHlch(52.47, 68.60, 292.59°)
OKLaboklab(60.01% 0.0005 -0.1816)
OKLCHoklch(60.01% 0.182 270.2)
XYZxyz(25.2602, 20.5614, 81.2187)
Luminance0.2056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5874EB #EBCF58
analogous
#58BEEB #5874EB #8558EB
triadic
#5874EB #EB5874 #74EB58
tetradic
#5874EB #EB58BE #EBCF58 #58EB85
square
#5874EB #EB58BE #EBCF58 #58EB85
split-complementary
#5874EB #EB8558 #BEEB58
monochromatic
#1533B3 #2147E4 #5874EB #8FA1F2 #C5CFF8

Accessibility & contrast

On white

4.11
#5874EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#5874EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5874EB
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5874EB#FFFFFF#000000##000000
##5874EB1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F84EF
Deuteranopia (green-blind)
#0077E9
Tritanopia (blue-blind)
#0090A4
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5874eb;
/* rgb */ color: rgb(88, 116, 235);
/* oklch */ color: oklch(60.0% 0.182 270.2);
Tailwind
colors: {
  custom: {
    50: '#959bf2',
    500: '#5874eb',
    950: '#000000',
  },
}
SCSS
$custom: #5874eb;
$custom-light: #959bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#5874eb",
  "rgb": {
    "r": 88,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 228.571,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60007,
    "c": 0.18157,
    "h": 270.2
  },
  "luminance": 0.20564
}

Semantic roles & 50–950 ramp

primary
#5874EB
secondary
#EAE0B5
accent
#B30BDB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5874EB

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

Preview Lab → · Contrast checker → · Palette generator →

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