#5C45DB#5C45DB

#5C45DB is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 51.0% C 0.217 H 282.5°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#5C45DB
RGBrgb(92, 69, 219)
HSLhsl(249, 68%, 56%)
HSVhsv(249, 68%, 86%)
CMYKcmyk(58%, 68.5%, 0%, 14.1%)
CIE-LABlab(40.65, 49.84, -73.48)
CIE-LCHlch(40.65, 88.79, 304.15°)
OKLaboklab(50.98% 0.0469 -0.2116)
OKLCHoklch(50.98% 0.217 282.5)
XYZxyz(19.3240, 11.6448, 68.2335)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C45DB #C4DB45
analogous
#4579DB #5C45DB #A745DB
triadic
#5C45DB #DB5C45 #45DB5C
tetradic
#5C45DB #DB4579 #C4DB45 #45DBA7
square
#5C45DB #DB4579 #C4DB45 #45DBA7
split-complementary
#5C45DB #DBA745 #79DB45
monochromatic
#2C1B8B #3C25BE #5C45DB #8978E5 #B6ACEF

Accessibility & contrast

On white

6.31
#5C45DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#5C45DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C45DB
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C45DB#FFFFFF#000000##FFFFFF
##5C45DB1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E0
Deuteranopia (green-blind)
#005BD8
Tritanopia (blue-blind)
#0A6D8B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5c45db;
/* rgb */ color: rgb(92, 69, 219);
/* oklch */ color: oklch(51.0% 0.217 282.5);
Tailwind
colors: {
  custom: {
    50: '#977be7',
    500: '#5c45db',
    950: '#000000',
  },
}
SCSS
$custom: #5c45db;
$custom-light: #977be7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c45db",
  "rgb": {
    "r": 92,
    "g": 69,
    "b": 219
  },
  "hsl": {
    "h": 249.2,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.50978,
    "c": 0.21674,
    "h": 282.5
  },
  "luminance": 0.11646
}

Semantic roles & 50–950 ramp

primary
#5C45DB
secondary
#D3DD9F
accent
#EA3DD0
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5C45DB

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

Preview Lab → · Contrast checker → · Palette generator →

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