#5C45E7#5C45E7

#5C45E7 is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 52.0% C 0.231 H 281.2°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#5C45E7
RGBrgb(92, 69, 231)
HSLhsl(249, 77%, 59%)
HSVhsv(249, 70%, 91%)
CMYKcmyk(60.2%, 70.1%, 0%, 9.4%)
CIE-LABlab(41.69, 53.43, -78.61)
CIE-LCHlch(41.69, 95.05, 304.20°)
OKLaboklab(52.04% 0.0449 -0.2266)
OKLCHoklch(52.04% 0.231 281.2)
XYZxyz(20.9610, 12.2996, 76.8553)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C45E7 #D0E745
analogous
#457FE7 #5C45E7 #AD45E7
triadic
#5C45E7 #E75C45 #45E75C
tetradic
#5C45E7 #E7457F #D0E745 #45E7AD
square
#5C45E7 #E7457F #D0E745 #45E7AD
split-complementary
#5C45E7 #E7AD45 #7FE745
monochromatic
#28149D #351BD4 #5C45E7 #8C7BEE #BBB1F5

Accessibility & contrast

On white

6.07
#5C45E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#5C45E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C45E7
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C45E7#FFFFFF#000000##FFFFFF
##5C45E71.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068EC
Deuteranopia (green-blind)
#005CE4
Tritanopia (blue-blind)
#007191
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5c45e7;
/* rgb */ color: rgb(92, 69, 231);
/* oklch */ color: oklch(52.0% 0.231 281.2);
Tailwind
colors: {
  custom: {
    50: '#997bf0',
    500: '#5c45e7',
    950: '#000000',
  },
}
SCSS
$custom: #5c45e7;
$custom-light: #997bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c45e7",
  "rgb": {
    "r": 92,
    "g": 69,
    "b": 231
  },
  "hsl": {
    "h": 248.519,
    "s": 77.143,
    "l": 58.824
  },
  "oklch": {
    "l": 0.52042,
    "c": 0.23102,
    "h": 281.2
  },
  "luminance": 0.12301
}

Semantic roles & 50–950 ramp

primary
#5C45E7
secondary
#DBE4A4
accent
#F434D8
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5C45E7

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

Preview Lab → · Contrast checker → · Palette generator →

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