#5C45DA#5C45DA

#5C45DA is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.9% C 0.216 H 282.6°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#5C45DA
RGBrgb(92, 69, 218)
HSLhsl(249, 67%, 56%)
HSVhsv(249, 68%, 85%)
CMYKcmyk(57.8%, 68.3%, 0%, 14.5%)
CIE-LABlab(40.56, 49.54, -73.05)
CIE-LCHlch(40.56, 88.27, 304.14°)
OKLaboklab(50.89% 0.0471 -0.2103)
OKLCHoklch(50.89% 0.216 282.6)
XYZxyz(19.1927, 11.5923, 67.5422)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C45DA #C3DA45
analogous
#4579DA #5C45DA #A745DA
triadic
#5C45DA #DA5C45 #45DA5C
tetradic
#5C45DA #DA4579 #C3DA45 #45DAA7
square
#5C45DA #DA4579 #C3DA45 #45DAA7
split-complementary
#5C45DA #DAA745 #79DA45
monochromatic
#2C1B89 #3D25BC #5C45DA #8978E4 #B5ABEE

Accessibility & contrast

On white

6.33
#5C45DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#5C45DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C45DA
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C45DA#FFFFFF#000000##FFFFFF
##5C45DA1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DF
Deuteranopia (green-blind)
#005AD7
Tritanopia (blue-blind)
#0E6C8A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5c45da;
/* rgb */ color: rgb(92, 69, 218);
/* oklch */ color: oklch(50.9% 0.216 282.6);
Tailwind
colors: {
  custom: {
    50: '#977be7',
    500: '#5c45da',
    950: '#000000',
  },
}
SCSS
$custom: #5c45da;
$custom-light: #977be7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c45da",
  "rgb": {
    "r": 92,
    "g": 69,
    "b": 218
  },
  "hsl": {
    "h": 249.262,
    "s": 66.816,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50891,
    "c": 0.21553,
    "h": 282.6
  },
  "luminance": 0.11594
}

Semantic roles & 50–950 ramp

primary
#5C45DA
secondary
#D3DC9F
accent
#EA3ECF
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5C45DA

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

Preview Lab → · Contrast checker → · Palette generator →

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