#5C4BEC#5C4BEC

#5C4BEC is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 53.3% C 0.231 H 279.9°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#5C4BEC
RGBrgb(92, 75, 236)
HSLhsl(246, 81%, 61%)
HSVhsv(246, 68%, 93%)
CMYKcmyk(61%, 68.2%, 0%, 7.5%)
CIE-LABlab(43.30, 51.68, -78.79)
CIE-LCHlch(43.30, 94.23, 303.26°)
OKLaboklab(53.33% 0.0397 -0.2271)
OKLCHoklch(53.33% 0.231 279.9)
XYZxyz(22.0652, 13.3619, 80.7570)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4BEC #DBEC4B
analogous
#4B8AEC #5C4BEC #AC4BEC
triadic
#5C4BEC #EC5C4B #4BEC5C
tetradic
#5C4BEC #EC4B8A #DBEC4B #4BECAC
square
#5C4BEC #EC4B8A #DBEC4B #4BECAC
split-complementary
#5C4BEC #ECAC4B #8AEC4B
monochromatic
#2212AB #2D18E2 #5C4BEC #8E82F2 #C0BAF8

Accessibility & contrast

On white

5.72
#5C4BEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#5C4BEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4BEC
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4BEC#FFFFFF#000000##FFFFFF
##5C4BEC1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CF1
Deuteranopia (green-blind)
#0060E9
Tritanopia (blue-blind)
#007696
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5c4bec;
/* rgb */ color: rgb(92, 75, 236);
/* oklch */ color: oklch(53.3% 0.231 279.9);
Tailwind
colors: {
  custom: {
    50: '#997ff3',
    500: '#5c4bec',
    950: '#000000',
  },
}
SCSS
$custom: #5c4bec;
$custom-light: #997ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4bec",
  "rgb": {
    "r": 92,
    "g": 75,
    "b": 236
  },
  "hsl": {
    "h": 246.335,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.53331,
    "c": 0.23059,
    "h": 279.9
  },
  "luminance": 0.13364
}

Semantic roles & 50–950 ramp

primary
#5C4BEC
secondary
#E1E8AB
accent
#DD08C7
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5C4BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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