#5875CF#5875CF

#5875CF is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.4% C 0.142 H 268.3°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#5875CF
RGBrgb(88, 117, 207)
HSLhsl(225, 55%, 58%)
HSVhsv(225, 57%, 81%)
CMYKcmyk(57.5%, 43.5%, 0%, 18.8%)
CIE-LABlab(51.04, 16.38, -49.84)
CIE-LCHlch(51.04, 52.46, 288.19°)
OKLaboklab(58.37% -0.0041 -0.1419)
OKLCHoklch(58.37% 0.142 268.3)
XYZxyz(21.6445, 19.3006, 61.6042)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5875CF #CFB258
analogous
#58B1CF #5875CF #7658CF
triadic
#5875CF #CF5875 #75CF58
tetradic
#5875CF #CF58B1 #CFB258 #58CF76
square
#5875CF #CF58B1 #CFB258 #58CF76
split-complementary
#5875CF #CF7658 #B1CF58
monochromatic
#273E86 #3454B6 #5875CF #889CDD #B7C4EA

Accessibility & contrast

On white

4.32
#5875CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#5875CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5875CF
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5875CF#FFFFFF#000000##000000
##5875CF1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7FD2
Deuteranopia (green-blind)
#3D75CD
Tritanopia (blue-blind)
#008998
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5875cf;
/* rgb */ color: rgb(88, 117, 207);
/* oklch */ color: oklch(58.4% 0.142 268.3);
Tailwind
colors: {
  custom: {
    50: '#909cde',
    500: '#5875cf',
    950: '#000000',
  },
}
SCSS
$custom: #5875cf;
$custom-light: #909cde;
$custom-dark: #000000;
JSON
{
  "hex": "#5875cf",
  "rgb": {
    "r": 88,
    "g": 117,
    "b": 207
  },
  "hsl": {
    "h": 225.378,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58374,
    "c": 0.14193,
    "h": 268.3
  },
  "luminance": 0.19302
}

Semantic roles & 50–950 ramp

primary
#5875CF
secondary
#D9CEAA
accent
#BA49DF
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5875CF

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

Preview Lab → · Contrast checker → · Palette generator →

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