#5C5BE1#5C5BE1

#5C5BE1 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.9% C 0.198 H 278.0°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5C5BE1
RGBrgb(92, 91, 225)
HSLhsl(240, 69%, 62%)
HSVhsv(240, 60%, 88%)
CMYKcmyk(59.1%, 59.6%, 0%, 11.8%)
CIE-LABlab(45.90, 38.99, -68.33)
CIE-LCHlch(45.90, 78.67, 299.71°)
OKLaboklab(54.95% 0.0275 -0.1964)
OKLCHoklch(54.95% 0.198 278)
XYZxyz(21.7410, 15.1921, 73.0063)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5BE1 #E0E15B
analogous
#5B9DE1 #5C5BE1 #9F5BE1
triadic
#5C5BE1 #E15C5B #5BE15C
tetradic
#5C5BE1 #E15B9D #E0E15B #5BE19F
square
#5C5BE1 #E15B9D #E0E15B #5BE19F
split-complementary
#5C5BE1 #E19F5B #9DE15B
monochromatic
#1F1EA4 #2927D7 #5C5BE1 #8F8FEA #C3C2F4

Accessibility & contrast

On white

5.20
#5C5BE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#5C5BE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5BE1
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5BE1#FFFFFF#000000##FFFFFF
##5C5BE11.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E5
Deuteranopia (green-blind)
#0067DE
Tritanopia (blue-blind)
#007C95
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5c5be1;
/* rgb */ color: rgb(92, 91, 225);
/* oklch */ color: oklch(54.9% 0.198 278.0);
Tailwind
colors: {
  custom: {
    50: '#9689eb',
    500: '#5c5be1',
    950: '#000000',
  },
}
SCSS
$custom: #5c5be1;
$custom-light: #9689eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5be1",
  "rgb": {
    "r": 92,
    "g": 91,
    "b": 225
  },
  "hsl": {
    "h": 240.448,
    "s": 69.072,
    "l": 61.961
  },
  "oklch": {
    "l": 0.54945,
    "c": 0.19834,
    "h": 278
  },
  "luminance": 0.15194
}

Semantic roles & 50–950 ramp

primary
#5C5BE1
secondary
#E4E5B3
accent
#D114D0
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5C5BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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