#5874F0#5874F0

#5874F0 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.4% C 0.188 H 270.3°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5874F0
RGBrgb(88, 116, 240)
HSLhsl(229, 84%, 64%)
HSVhsv(229, 63%, 94%)
CMYKcmyk(63.3%, 51.7%, 0%, 5.9%)
CIE-LABlab(52.79, 28.04, -65.61)
CIE-LCHlch(52.79, 71.35, 293.14°)
OKLaboklab(60.36% 0.0009 -0.1882)
OKLCHoklch(60.36% 0.188 270.3)
XYZxyz(25.9928, 20.8545, 85.0767)
Luminance0.2086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5874F0 #F0D458
analogous
#58C0F0 #5874F0 #8858F0
triadic
#5874F0 #F05874 #74F058
tetradic
#5874F0 #F058C0 #F0D458 #58F088
square
#5874F0 #F058C0 #F0D458 #58F088
split-complementary
#5874F0 #F08858 #C0F058
monochromatic
#1131BD #2045EB #5874F0 #90A3F5 #C8D1FA

Accessibility & contrast

On white

4.06
#5874F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#5874F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5874F0
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5874F0#FFFFFF#000000##000000
##5874F01.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2785F4
Deuteranopia (green-blind)
#0077ED
Tritanopia (blue-blind)
#0091A7
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5874f0;
/* rgb */ color: rgb(88, 116, 240);
/* oklch */ color: oklch(60.4% 0.188 270.3);
Tailwind
colors: {
  custom: {
    50: '#959bf6',
    500: '#5874f0',
    950: '#000000',
  },
}
SCSS
$custom: #5874f0;
$custom-light: #959bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#5874f0",
  "rgb": {
    "r": 88,
    "g": 116,
    "b": 240
  },
  "hsl": {
    "h": 228.947,
    "s": 83.516,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60355,
    "c": 0.18825,
    "h": 270.3
  },
  "luminance": 0.20857
}

Semantic roles & 50–950 ramp

primary
#5874F0
secondary
#ECE3B8
accent
#B806E0
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5874F0

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

Preview Lab → · Contrast checker → · Palette generator →

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