#5C54F1#5C54F1

#5C54F1 is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 55.1% C 0.227 H 278.2°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#5C54F1
RGBrgb(92, 84, 241)
HSLhsl(243, 85%, 64%)
HSVhsv(243, 65%, 95%)
CMYKcmyk(61.8%, 65.1%, 0%, 5.5%)
CIE-LABlab(45.59, 48.17, -77.87)
CIE-LCHlch(45.59, 91.56, 301.74°)
OKLaboklab(55.11% 0.0323 -0.2244)
OKLCHoklch(55.11% 0.227 278.2)
XYZxyz(23.4560, 14.9650, 84.8545)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C54F1 #E9F154
analogous
#549AF1 #5C54F1 #AA54F1
triadic
#5C54F1 #F15C54 #54F15C
tetradic
#5C54F1 #F1549A #E9F154 #54F1AA
square
#5C54F1 #F1549A #E9F154 #54F1AA
split-complementary
#5C54F1 #F1AA54 #9AF154
monochromatic
#180FBB #261BEC #5C54F1 #928DF6 #C8C5FA

Accessibility & contrast

On white

5.26
#5C54F1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#5C54F1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C54F1
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C54F1#FFFFFF#000000##FFFFFF
##5C54F11.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F6
Deuteranopia (green-blind)
#0065EE
Tritanopia (blue-blind)
#007D9B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5c54f1;
/* rgb */ color: rgb(92, 84, 241);
/* oklch */ color: oklch(55.1% 0.227 278.2);
Tailwind
colors: {
  custom: {
    50: '#9985f7',
    500: '#5c54f1',
    950: '#000000',
  },
}
SCSS
$custom: #5c54f1;
$custom-light: #9985f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c54f1",
  "rgb": {
    "r": 92,
    "g": 84,
    "b": 241
  },
  "hsl": {
    "h": 243.057,
    "s": 84.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.55106,
    "c": 0.22675,
    "h": 278.2
  },
  "luminance": 0.14967
}

Semantic roles & 50–950 ramp

primary
#5C54F1
secondary
#E9ECB5
accent
#E104D6
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5C54F1

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

Preview Lab → · Contrast checker → · Palette generator →

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