#5C45D2#5C45D2

#5C45D2 is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 50.2% C 0.206 H 283.6°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#5C45D2
RGBrgb(92, 69, 210)
HSLhsl(250, 61%, 55%)
HSVhsv(250, 67%, 82%)
CMYKcmyk(56.2%, 67.1%, 0%, 17.6%)
CIE-LABlab(39.89, 47.14, -69.56)
CIE-LCHlch(39.89, 84.03, 304.13°)
OKLaboklab(50.2% 0.0483 -0.2001)
OKLCHoklch(50.2% 0.206 283.6)
XYZxyz(18.1710, 11.1836, 62.1614)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C45D2 #BBD245
analogous
#4575D2 #5C45D2 #A245D2
triadic
#5C45D2 #D25C45 #45D25C
tetradic
#5C45D2 #D24575 #BBD245 #45D2A2
square
#5C45D2 #D24575 #BBD245 #45D2A2
split-complementary
#5C45D2 #D2A245 #75D245
monochromatic
#2E1F7E #402AAF #5C45D2 #8776DE #B2A8EA

Accessibility & contrast

On white

6.49
#5C45D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#5C45D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C45D2
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C45D2#FFFFFF#000000##FFFFFF
##5C45D21.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D6
Deuteranopia (green-blind)
#0059CF
Tritanopia (blue-blind)
#206986
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5c45d2;
/* rgb */ color: rgb(92, 69, 210);
/* oklch */ color: oklch(50.2% 0.206 283.6);
Tailwind
colors: {
  custom: {
    50: '#957ae1',
    500: '#5c45d2',
    950: '#000000',
  },
}
SCSS
$custom: #5c45d2;
$custom-light: #957ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c45d2",
  "rgb": {
    "r": 92,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 249.787,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.502,
    "c": 0.20582,
    "h": 283.6
  },
  "luminance": 0.11185
}

Semantic roles & 50–950 ramp

primary
#5C45D2
secondary
#CDD79C
accent
#E444CA
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5C45D2

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

Preview Lab → · Contrast checker → · Palette generator →

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