#5E54F1#5E54F1

#5E54F1 is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 55.2% C 0.226 H 278.8°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5E54F1
RGBrgb(94, 84, 241)
HSLhsl(244, 85%, 64%)
HSVhsv(244, 65%, 95%)
CMYKcmyk(61%, 65.1%, 0%, 5.5%)
CIE-LABlab(45.73, 48.45, -77.63)
CIE-LCHlch(45.73, 91.51, 301.97°)
OKLaboklab(55.25% 0.0347 -0.2237)
OKLCHoklch(55.25% 0.226 278.8)
XYZxyz(23.6585, 15.0694, 84.8640)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E54F1 #E7F154
analogous
#5498F1 #5E54F1 #AC54F1
triadic
#5E54F1 #F15E54 #54F15E
tetradic
#5E54F1 #F15498 #E7F154 #54F1AC
square
#5E54F1 #F15498 #E7F154 #54F1AC
split-complementary
#5E54F1 #F1AC54 #98F154
monochromatic
#1A0FBB #291BEC #5E54F1 #938DF6 #C9C5FA

Accessibility & contrast

On white

5.23
#5E54F1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#5E54F1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E54F1
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E54F1#FFFFFF#000000##FFFFFF
##5E54F11.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e54f1;
/* rgb */ color: rgb(94, 84, 241);
/* oklch */ color: oklch(55.2% 0.226 278.8);
Tailwind
colors: {
  custom: {
    50: '#9a85f7',
    500: '#5e54f1',
    950: '#000000',
  },
}
SCSS
$custom: #5e54f1;
$custom-light: #9a85f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e54f1",
  "rgb": {
    "r": 94,
    "g": 84,
    "b": 241
  },
  "hsl": {
    "h": 243.822,
    "s": 84.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.55246,
    "c": 0.22636,
    "h": 278.8
  },
  "luminance": 0.15071
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E54F1

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

Preview Lab → · Contrast checker → · Palette generator →

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