#5874F8#5874F8

#5874F8 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.9% C 0.199 H 270.4°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#5874F8
RGBrgb(88, 116, 248)
HSLhsl(230, 92%, 66%)
HSVhsv(230, 65%, 97%)
CMYKcmyk(64.5%, 53.2%, 0%, 2.7%)
CIE-LABlab(53.32, 30.73, -69.20)
CIE-LCHlch(53.32, 75.72, 293.95°)
OKLaboklab(60.92% 0.0015 -0.1988)
OKLCHoklch(60.92% 0.199 270.4)
XYZxyz(27.2074, 21.3403, 91.4740)
Luminance0.2134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5874F8 #F8DC58
analogous
#58C4F8 #5874F8 #8C58F8
triadic
#5874F8 #F85874 #74F858
tetradic
#5874F8 #F858C4 #F8DC58 #58F88C
square
#5874F8 #F858C4 #F8DC58 #58F88C
split-complementary
#5874F8 #F88C58 #C4F858
monochromatic
#092BCD #1D43F6 #5874F8 #93A5FA #CDD6FD

Accessibility & contrast

On white

3.99
#5874F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#5874F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5874F8
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5874F8#FFFFFF#000000##000000
##5874F81.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1387FD
Deuteranopia (green-blind)
#0078F5
Tritanopia (blue-blind)
#0093AB
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5874f8;
/* rgb */ color: rgb(88, 116, 248);
/* oklch */ color: oklch(60.9% 0.199 270.4);
Tailwind
colors: {
  custom: {
    50: '#979bfb',
    500: '#5874f8',
    950: '#000000',
  },
}
SCSS
$custom: #5874f8;
$custom-light: #979bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#5874f8",
  "rgb": {
    "r": 88,
    "g": 116,
    "b": 248
  },
  "hsl": {
    "h": 229.5,
    "s": 91.954,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60923,
    "c": 0.19883,
    "h": 270.4
  },
  "luminance": 0.21343
}

Semantic roles & 50–950 ramp

primary
#5874F8
secondary
#F0E7BB
accent
#BD00E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5874F8

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

Preview Lab → · Contrast checker → · Palette generator →

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