#5B75E7#5B75E7

#5B75E7 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.1% C 0.174 H 270.7°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#5B75E7
RGBrgb(91, 117, 231)
HSLhsl(229, 74%, 63%)
HSVhsv(229, 61%, 91%)
CMYKcmyk(60.6%, 49.4%, 0%, 9.4%)
CIE-LABlab(52.64, 24.92, -60.82)
CIE-LCHlch(52.64, 65.73, 292.28°)
OKLaboklab(60.1% 0.0021 -0.1741)
OKLCHoklch(60.1% 0.174 270.7)
XYZxyz(25.0946, 20.7142, 78.2616)
Luminance0.2072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B75E7 #E7CD5B
analogous
#5BBBE7 #5B75E7 #875BE7
triadic
#5B75E7 #E75B75 #75E75B
tetradic
#5B75E7 #E75BBB #E7CD5B #5BE787
square
#5B75E7 #E75BBB #E7CD5B #5BE787
split-complementary
#5B75E7 #E7875B #BBE75B
monochromatic
#1935AE #2648DF #5B75E7 #90A2EF #C6CFF7

Accessibility & contrast

On white

4.08
#5B75E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#5B75E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B75E7
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B75E7#FFFFFF#000000##000000
##5B75E71.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3884EB
Deuteranopia (green-blind)
#1878E5
Tritanopia (blue-blind)
#008FA3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5b75e7;
/* rgb */ color: rgb(91, 117, 231);
/* oklch */ color: oklch(60.1% 0.174 270.7);
Tailwind
colors: {
  custom: {
    50: '#959cef',
    500: '#5b75e7',
    950: '#000000',
  },
}
SCSS
$custom: #5b75e7;
$custom-light: #959cef;
$custom-dark: #000000;
JSON
{
  "hex": "#5b75e7",
  "rgb": {
    "r": 91,
    "g": 117,
    "b": 231
  },
  "hsl": {
    "h": 228.857,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60098,
    "c": 0.17409,
    "h": 270.7
  },
  "luminance": 0.20716
}

Semantic roles & 50–950 ramp

primary
#5B75E7
secondary
#E8DFB6
accent
#B20FD7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5B75E7

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

Preview Lab → · Contrast checker → · Palette generator →

#5B75E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva