#5874FF#5874FF

#5874FF is a mid, highly saturated blue. Relative luminance 0.218; OKLCH L 61.4% C 0.208 H 270.5°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#5874FF
RGBrgb(88, 116, 255)
HSLhsl(230, 100%, 67%)
HSVhsv(230, 65%, 100%)
CMYKcmyk(65.5%, 54.5%, 0%, 0%)
CIE-LABlab(53.80, 33.09, -72.30)
CIE-LCHlch(53.80, 79.51, 294.59°)
OKLaboklab(61.43% 0.0018 -0.2079)
OKLCHoklch(61.43% 0.208 270.5)
XYZxyz(28.3138, 21.7829, 97.3007)
Luminance0.2178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5874FF #FFE358
analogous
#58C8FF #5874FF #9058FF
triadic
#5874FF #FF5874 #74FF58
tetradic
#5874FF #FF58C8 #FFE358 #58FF90
square
#5874FF #FF58C8 #FFE358 #58FF90
split-complementary
#5874FF #FF9058 #C8FF58
monochromatic
#0025DD #1B41FF #5874FF #95A7FF #D2DAFF

Accessibility & contrast

On white

3.92
#5874FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#5874FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5874FF
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5874FF#FFFFFF#000000##000000
##5874FF1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#0079FC
Tritanopia (blue-blind)
#0095AE
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5874ff;
/* rgb */ color: rgb(88, 116, 255);
/* oklch */ color: oklch(61.4% 0.208 270.5);
Tailwind
colors: {
  custom: {
    50: '#989bff',
    500: '#5874ff',
    950: '#000000',
  },
}
SCSS
$custom: #5874ff;
$custom-light: #989bff;
$custom-dark: #000000;
JSON
{
  "hex": "#5874ff",
  "rgb": {
    "r": 88,
    "g": 116,
    "b": 255
  },
  "hsl": {
    "h": 229.94,
    "s": 100,
    "l": 67.255
  },
  "oklch": {
    "l": 0.61431,
    "c": 0.20796,
    "h": 270.5
  },
  "luminance": 0.21785
}

Semantic roles & 50–950 ramp

primary
#5874FF
secondary
#F4EBBF
accent
#BF00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E18
muted
#7F7E86

Preview Lab

Preview with #5874FF

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

Preview Lab → · Contrast checker → · Palette generator →

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