#5C5BE3#5C5BE3

#5C5BE3 is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.1% C 0.201 H 277.9°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5C5BE3
RGBrgb(92, 91, 227)
HSLhsl(240, 71%, 62%)
HSVhsv(240, 60%, 89%)
CMYKcmyk(59.5%, 59.9%, 0%, 11%)
CIE-LABlab(46.05, 39.63, -69.22)
CIE-LCHlch(46.05, 79.77, 299.79°)
OKLaboklab(55.1% 0.0275 -0.199)
OKLCHoklch(55.1% 0.201 277.9)
XYZxyz(22.0154, 15.3019, 74.4516)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5BE3 #E2E35B
analogous
#5B9EE3 #5C5BE3 #A05BE3
triadic
#5C5BE3 #E35C5B #5BE35C
tetradic
#5C5BE3 #E35B9E #E2E35B #5BE3A0
square
#5C5BE3 #E35B9E #E2E35B #5BE3A0
split-complementary
#5C5BE3 #E3A05B #9EE35B
monochromatic
#1E1DA7 #2827DA #5C5BE3 #908FEC #C4C4F5

Accessibility & contrast

On white

5.17
#5C5BE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#5C5BE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5BE3
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5BE3#FFFFFF#000000##FFFFFF
##5C5BE31.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E7
Deuteranopia (green-blind)
#0067E0
Tritanopia (blue-blind)
#007C96
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5c5be3;
/* rgb */ color: rgb(92, 91, 227);
/* oklch */ color: oklch(55.1% 0.201 277.9);
Tailwind
colors: {
  custom: {
    50: '#9789ed',
    500: '#5c5be3',
    950: '#000000',
  },
}
SCSS
$custom: #5c5be3;
$custom-light: #9789ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5be3",
  "rgb": {
    "r": 92,
    "g": 91,
    "b": 227
  },
  "hsl": {
    "h": 240.441,
    "s": 70.833,
    "l": 62.353
  },
  "oklch": {
    "l": 0.55101,
    "c": 0.20092,
    "h": 277.9
  },
  "luminance": 0.15304
}

Semantic roles & 50–950 ramp

primary
#5C5BE3
secondary
#E5E6B4
accent
#D313D1
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5C5BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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