#5874F1#5874F1

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

Color values

HEX#5874F1
RGBrgb(88, 116, 241)
HSLhsl(229, 85%, 65%)
HSVhsv(229, 63%, 95%)
CMYKcmyk(63.5%, 51.9%, 0%, 5.5%)
CIE-LABlab(52.86, 28.37, -66.06)
CIE-LCHlch(52.86, 71.89, 293.24°)
OKLaboklab(60.43% 0.001 -0.1896)
OKLCHoklch(60.43% 0.19 270.3)
XYZxyz(26.1417, 20.9140, 85.8612)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5874F1 #F1D558
analogous
#58C0F1 #5874F1 #8958F1
triadic
#5874F1 #F15874 #74F158
tetradic
#5874F1 #F158C0 #F1D558 #58F189
square
#5874F1 #F158C0 #F1D558 #58F189
split-complementary
#5874F1 #F18958 #C0F158
monochromatic
#1030BF #2045EC #5874F1 #90A3F6 #C9D2FA

Accessibility & contrast

On white

4.05
#5874F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#5874F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5874F1
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5874F1#FFFFFF#000000##000000
##5874F11.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2585F5
Deuteranopia (green-blind)
#0078EE
Tritanopia (blue-blind)
#0091A7
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5874f1;
/* rgb */ color: rgb(88, 116, 241);
/* oklch */ color: oklch(60.4% 0.190 270.3);
Tailwind
colors: {
  custom: {
    50: '#969bf6',
    500: '#5874f1',
    950: '#000000',
  },
}
SCSS
$custom: #5874f1;
$custom-light: #969bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#5874f1",
  "rgb": {
    "r": 88,
    "g": 116,
    "b": 241
  },
  "hsl": {
    "h": 229.02,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60425,
    "c": 0.18958,
    "h": 270.3
  },
  "luminance": 0.20916
}

Semantic roles & 50–950 ramp

primary
#5874F1
secondary
#EDE3B8
accent
#B905E1
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5874F1

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

Preview Lab → · Contrast checker → · Palette generator →

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