#5E52BB#5E52BB

#5E52BB is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.7% C 0.159 H 284.4°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#5E52BB
RGBrgb(94, 82, 187)
HSLhsl(247, 44%, 53%)
HSVhsv(247, 56%, 73%)
CMYKcmyk(49.7%, 56.1%, 0%, 26.7%)
CIE-LABlab(41.22, 32.86, -54.03)
CIE-LCHlch(41.22, 63.24, 301.30°)
OKLaboklab(50.67% 0.0395 -0.1544)
OKLCHoklch(50.67% 0.159 284.4)
XYZxyz(16.6004, 12.0013, 48.4459)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E52BB #AFBB52
analogous
#527BBB #5E52BB #9252BB
triadic
#5E52BB #BB5E52 #52BB5E
tetradic
#5E52BB #BB527B #AFBB52 #52BB92
square
#5E52BB #BB527B #AFBB52 #52BB92
split-complementary
#5E52BB #BB9252 #7BBB52
monochromatic
#312969 #453B95 #5E52BB #877ECC #B0AADE

Accessibility & contrast

On white

6.18
#5E52BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#5E52BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E52BB
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E52BB#FFFFFF#000000##FFFFFF
##5E52BB1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D64BF
Deuteranopia (green-blind)
#015EB9
Tritanopia (blue-blind)
#3C6A7E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5e52bb;
/* rgb */ color: rgb(94, 82, 187);
/* oklch */ color: oklch(50.7% 0.159 284.4);
Tailwind
colors: {
  custom: {
    50: '#9283d0',
    500: '#5e52bb',
    950: '#000000',
  },
}
SCSS
$custom: #5e52bb;
$custom-light: #9283d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e52bb",
  "rgb": {
    "r": 94,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 246.857,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5067,
    "c": 0.15933,
    "h": 284.4
  },
  "luminance": 0.12002
}

Semantic roles & 50–950 ramp

primary
#5E52BB
secondary
#C6CB9E
accent
#D354C5
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #5E52BB

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

Preview Lab → · Contrast checker → · Palette generator →

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