#5875F1#5875F1

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

Color values

HEX#5875F1
RGBrgb(88, 117, 241)
HSLhsl(229, 85%, 65%)
HSVhsv(229, 63%, 95%)
CMYKcmyk(63.5%, 51.5%, 0%, 5.5%)
CIE-LABlab(53.11, 27.76, -65.65)
CIE-LCHlch(53.11, 71.28, 292.92°)
OKLaboklab(60.62% 0.0001 -0.1884)
OKLCHoklch(60.62% 0.188 270)
XYZxyz(26.2576, 21.1458, 85.8998)
Luminance0.2115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5875F1 #F1D458
analogous
#58C2F1 #5875F1 #8758F1
triadic
#5875F1 #F15875 #75F158
tetradic
#5875F1 #F158C2 #F1D458 #58F187
square
#5875F1 #F158C2 #F1D458 #58F187
split-complementary
#5875F1 #F18758 #C2F158
monochromatic
#1031BF #2046EC #5875F1 #90A4F6 #C9D2FA

Accessibility & contrast

On white

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

On black

5.23
#5875F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5875F1
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5875F1#FFFFFF#000000##000000
##5875F11.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2986F5
Deuteranopia (green-blind)
#0078EE
Tritanopia (blue-blind)
#0092A8
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5875f1;
/* rgb */ color: rgb(88, 117, 241);
/* oklch */ color: oklch(60.6% 0.188 270.0);
Tailwind
colors: {
  custom: {
    50: '#969cf6',
    500: '#5875f1',
    950: '#000000',
  },
}
SCSS
$custom: #5875f1;
$custom-light: #969cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#5875f1",
  "rgb": {
    "r": 88,
    "g": 117,
    "b": 241
  },
  "hsl": {
    "h": 228.627,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60616,
    "c": 0.18836,
    "h": 270
  },
  "luminance": 0.21148
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5875F1

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

Preview Lab → · Contrast checker → · Palette generator →

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