#5875FF#5875FF

#5875FF is a mid, highly saturated blue. Relative luminance 0.220; OKLCH L 61.6% C 0.207 H 270.3°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5875FF
RGBrgb(88, 117, 255)
HSLhsl(230, 100%, 67%)
HSVhsv(230, 65%, 100%)
CMYKcmyk(65.5%, 54.1%, 0%, 0%)
CIE-LABlab(54.04, 32.48, -71.90)
CIE-LCHlch(54.04, 78.90, 294.31°)
OKLaboklab(61.62% 0.001 -0.2068)
OKLCHoklch(61.62% 0.207 270.3)
XYZxyz(28.4297, 22.0146, 97.3394)
Luminance0.2202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5875FF #FFE258
analogous
#58C8FF #5875FF #8F58FF
triadic
#5875FF #FF5875 #75FF58
tetradic
#5875FF #FF58C8 #FFE258 #58FF8F
square
#5875FF #FF58C8 #FFE258 #58FF8F
split-complementary
#5875FF #FF8F58 #C8FF58
monochromatic
#0026DD #1B42FF #5875FF #95A8FF #D2DAFF

Accessibility & contrast

On white

3.89
#5875FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#5875FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5875FF
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5875FF#FFFFFF#000000##000000
##5875FF1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0089FF
Deuteranopia (green-blind)
#007AFC
Tritanopia (blue-blind)
#0096AF
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5875ff;
/* rgb */ color: rgb(88, 117, 255);
/* oklch */ color: oklch(61.6% 0.207 270.3);
Tailwind
colors: {
  custom: {
    50: '#989cff',
    500: '#5875ff',
    950: '#000000',
  },
}
SCSS
$custom: #5875ff;
$custom-light: #989cff;
$custom-dark: #000000;
JSON
{
  "hex": "#5875ff",
  "rgb": {
    "r": 88,
    "g": 117,
    "b": 255
  },
  "hsl": {
    "h": 229.581,
    "s": 100,
    "l": 67.255
  },
  "oklch": {
    "l": 0.61616,
    "c": 0.20676,
    "h": 270.3
  },
  "luminance": 0.22017
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5875FF

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

Preview Lab → · Contrast checker → · Palette generator →

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