#5C48CF#5C48CF

#5C48CF is a mid, vivid blue. Relative luminance 0.114; OKLCH L 50.4% C 0.199 H 283.4°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#5C48CF
RGBrgb(92, 72, 207)
HSLhsl(249, 58%, 55%)
HSVhsv(249, 65%, 81%)
CMYKcmyk(55.6%, 65.2%, 0%, 18.8%)
CIE-LABlab(40.27, 44.54, -67.20)
CIE-LCHlch(40.27, 80.62, 303.54°)
OKLaboklab(50.4% 0.046 -0.1932)
OKLCHoklch(50.4% 0.199 283.4)
XYZxyz(17.9900, 11.4139, 60.2745)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C48CF #BBCF48
analogous
#4877CF #5C48CF #A048CF
triadic
#5C48CF #CF5C48 #48CF5C
tetradic
#5C48CF #CF4877 #BBCF48 #48CFA0
square
#5C48CF #CF4877 #BBCF48 #48CFA0
split-complementary
#5C48CF #CFA048 #77CF48
monochromatic
#2E217C #402DAD #5C48CF #8778DC #B2A9E8

Accessibility & contrast

On white

6.40
#5C48CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#5C48CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C48CF
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C48CF#FFFFFF#000000##FFFFFF
##5C48CF1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D3
Deuteranopia (green-blind)
#005ACC
Tritanopia (blue-blind)
#246A85
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5c48cf;
/* rgb */ color: rgb(92, 72, 207);
/* oklch */ color: oklch(50.4% 0.199 283.4);
Tailwind
colors: {
  custom: {
    50: '#957cdf',
    500: '#5c48cf',
    950: '#000000',
  },
}
SCSS
$custom: #5c48cf;
$custom-light: #957cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#5c48cf",
  "rgb": {
    "r": 92,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 248.889,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.50399,
    "c": 0.19858,
    "h": 283.4
  },
  "luminance": 0.11415
}

Semantic roles & 50–950 ramp

primary
#5C48CF
secondary
#CDD69D
accent
#E246CB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5C48CF

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

Preview Lab → · Contrast checker → · Palette generator →

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