#5875F0#5875F0

#5875F0 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.5% C 0.187 H 270.0°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#5875F0
RGBrgb(88, 117, 240)
HSLhsl(229, 84%, 64%)
HSVhsv(229, 63%, 94%)
CMYKcmyk(63.3%, 51.3%, 0%, 5.9%)
CIE-LABlab(53.04, 27.42, -65.20)
CIE-LCHlch(53.04, 70.73, 292.81°)
OKLaboklab(60.55% 0 -0.187)
OKLCHoklch(60.55% 0.187 270)
XYZxyz(26.1086, 21.0862, 85.1153)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5875F0 #F0D358
analogous
#58C1F0 #5875F0 #8758F0
triadic
#5875F0 #F05875 #75F058
tetradic
#5875F0 #F058C1 #F0D358 #58F087
square
#5875F0 #F058C1 #F0D358 #58F087
split-complementary
#5875F0 #F08758 #C1F058
monochromatic
#1132BD #2047EB #5875F0 #90A3F5 #C8D2FA

Accessibility & contrast

On white

4.02
#5875F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#5875F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5875F0
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5875F0#FFFFFF#000000##000000
##5875F01.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A86F4
Deuteranopia (green-blind)
#0078ED
Tritanopia (blue-blind)
#0092A7
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5875f0;
/* rgb */ color: rgb(88, 117, 240);
/* oklch */ color: oklch(60.5% 0.187 270.0);
Tailwind
colors: {
  custom: {
    50: '#959cf6',
    500: '#5875f0',
    950: '#000000',
  },
}
SCSS
$custom: #5875f0;
$custom-light: #959cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#5875f0",
  "rgb": {
    "r": 88,
    "g": 117,
    "b": 240
  },
  "hsl": {
    "h": 228.553,
    "s": 83.516,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60546,
    "c": 0.18703,
    "h": 270
  },
  "luminance": 0.21089
}

Semantic roles & 50–950 ramp

primary
#5875F0
secondary
#ECE2B8
accent
#B606E0
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5875F0

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

Preview Lab → · Contrast checker → · Palette generator →

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