#5C45DF#5C45DF

#5C45DF is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 51.3% C 0.222 H 282.1°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#5C45DF
RGBrgb(92, 69, 223)
HSLhsl(249, 71%, 57%)
HSVhsv(249, 69%, 87%)
CMYKcmyk(58.7%, 69.1%, 0%, 12.5%)
CIE-LABlab(40.99, 51.04, -75.21)
CIE-LCHlch(40.99, 90.89, 304.16°)
OKLaboklab(51.33% 0.0463 -0.2166)
OKLCHoklch(51.33% 0.222 282.1)
XYZxyz(19.8569, 11.8579, 71.0402)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C45DF #C8DF45
analogous
#457BDF #5C45DF #A945DF
triadic
#5C45DF #DF5C45 #45DF5C
tetradic
#5C45DF #DF457B #C8DF45 #45DFA9
square
#5C45DF #DF457B #C8DF45 #45DFA9
split-complementary
#5C45DF #DFA945 #7BDF45
monochromatic
#2B1991 #3A22C5 #5C45DF #8A79E8 #B8ADF1

Accessibility & contrast

On white

6.23
#5C45DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#5C45DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C45DF
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C45DF#FFFFFF#000000##FFFFFF
##5C45DF1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E4
Deuteranopia (green-blind)
#005BDC
Tritanopia (blue-blind)
#006E8D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5c45df;
/* rgb */ color: rgb(92, 69, 223);
/* oklch */ color: oklch(51.3% 0.222 282.1);
Tailwind
colors: {
  custom: {
    50: '#987bea',
    500: '#5c45df',
    950: '#000000',
  },
}
SCSS
$custom: #5c45df;
$custom-light: #987bea;
$custom-dark: #000000;
JSON
{
  "hex": "#5c45df",
  "rgb": {
    "r": 92,
    "g": 69,
    "b": 223
  },
  "hsl": {
    "h": 248.961,
    "s": 70.642,
    "l": 57.255
  },
  "oklch": {
    "l": 0.51329,
    "c": 0.22153,
    "h": 282.1
  },
  "luminance": 0.11859
}

Semantic roles & 50–950 ramp

primary
#5C45DF
secondary
#D6DFA1
accent
#ED3AD3
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5C45DF

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

Preview Lab → · Contrast checker → · Palette generator →

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