#5E54CF#5E54CF

#5E54CF is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.5% C 0.183 H 281.7°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#5E54CF
RGBrgb(94, 84, 207)
HSLhsl(245, 56%, 57%)
HSVhsv(245, 59%, 81%)
CMYKcmyk(54.6%, 59.4%, 0%, 18.8%)
CIE-LABlab(43.10, 37.85, -62.59)
CIE-LCHlch(43.10, 73.14, 301.16°)
OKLaboklab(52.51% 0.0372 -0.1795)
OKLCHoklch(52.51% 0.183 281.7)
XYZxyz(19.0454, 13.2242, 60.5683)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E54CF #C5CF54
analogous
#5488CF #5E54CF #9C54CF
triadic
#5E54CF #CF5E54 #54CF5E
tetradic
#5E54CF #CF5488 #C5CF54 #54CF9C
square
#5E54CF #CF5488 #C5CF54 #54CF9C
split-complementary
#5E54CF #CF9C54 #88CF54
monochromatic
#2D2584 #3D32B3 #5E54CF #8B84DC #B8B4EA

Accessibility & contrast

On white

5.76
#5E54CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#5E54CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E54CF
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E54CF#FFFFFF#000000##FFFFFF
##5E54CF1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#0061CC
Tritanopia (blue-blind)
#297189
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5e54cf;
/* rgb */ color: rgb(94, 84, 207);
/* oklch */ color: oklch(52.5% 0.183 281.7);
Tailwind
colors: {
  custom: {
    50: '#9584de',
    500: '#5e54cf',
    950: '#000000',
  },
}
SCSS
$custom: #5e54cf;
$custom-light: #9584de;
$custom-dark: #000000;
JSON
{
  "hex": "#5e54cf",
  "rgb": {
    "r": 94,
    "g": 84,
    "b": 207
  },
  "hsl": {
    "h": 244.878,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52506,
    "c": 0.18333,
    "h": 281.7
  },
  "luminance": 0.13225
}

Semantic roles & 50–950 ramp

primary
#5E54CF
secondary
#D4D8A6
accent
#DF48D3
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5E54CF

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

Preview Lab → · Contrast checker → · Palette generator →

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