#5C45D9#5C45D9

#5C45D9 is a mid, highly saturated blue. Relative luminance 0.115; OKLCH L 50.8% C 0.214 H 282.7°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#5C45D9
RGBrgb(92, 69, 217)
HSLhsl(249, 66%, 56%)
HSVhsv(249, 68%, 85%)
CMYKcmyk(57.6%, 68.2%, 0%, 14.9%)
CIE-LABlab(40.48, 49.24, -72.62)
CIE-LCHlch(40.48, 87.74, 304.14°)
OKLaboklab(50.8% 0.0472 -0.2091)
OKLCHoklch(50.8% 0.214 282.7)
XYZxyz(19.0623, 11.5401, 66.8552)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C45D9 #C2D945
analogous
#4578D9 #5C45D9 #A645D9
triadic
#5C45D9 #D95C45 #45D95C
tetradic
#5C45D9 #D94578 #C2D945 #45D9A6
square
#5C45D9 #D94578 #C2D945 #45D9A6
split-complementary
#5C45D9 #D9A645 #78D945
monochromatic
#2D1C88 #3D26BB #5C45D9 #8978E3 #B5ABEE

Accessibility & contrast

On white

6.35
#5C45D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#5C45D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C45D9
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C45D9#FFFFFF#000000##FFFFFF
##5C45D91.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DD
Deuteranopia (green-blind)
#005AD6
Tritanopia (blue-blind)
#116C8A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5c45d9;
/* rgb */ color: rgb(92, 69, 217);
/* oklch */ color: oklch(50.8% 0.214 282.7);
Tailwind
colors: {
  custom: {
    50: '#977be6',
    500: '#5c45d9',
    950: '#000000',
  },
}
SCSS
$custom: #5c45d9;
$custom-light: #977be6;
$custom-dark: #000000;
JSON
{
  "hex": "#5c45d9",
  "rgb": {
    "r": 92,
    "g": 69,
    "b": 217
  },
  "hsl": {
    "h": 249.324,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.50804,
    "c": 0.21433,
    "h": 282.7
  },
  "luminance": 0.11541
}

Semantic roles & 50–950 ramp

primary
#5C45D9
secondary
#D2DB9E
accent
#E93FCF
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5C45D9

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

Preview Lab → · Contrast checker → · Palette generator →

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