#5E52F3#5E52F3

#5E52F3 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 55.1% C 0.231 H 279.0°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#5E52F3
RGBrgb(94, 82, 243)
HSLhsl(244, 87%, 64%)
HSVhsv(244, 66%, 95%)
CMYKcmyk(61.3%, 66.3%, 0%, 4.7%)
CIE-LABlab(45.47, 50.20, -79.17)
CIE-LCHlch(45.47, 93.74, 302.38°)
OKLaboklab(55.11% 0.036 -0.2282)
OKLCHoklch(55.11% 0.231 279)
XYZxyz(23.8059, 14.8835, 86.3950)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E52F3 #E7F352
analogous
#5296F3 #5E52F3 #AE52F3
triadic
#5E52F3 #F35E52 #52F35E
tetradic
#5E52F3 #F35296 #E7F352 #52F3AE
square
#5E52F3 #F35296 #E7F352 #52F3AE
split-complementary
#5E52F3 #F3AE52 #96F352
monochromatic
#1A0DBD #2919EF #5E52F3 #938BF7 #C9C4FB

Accessibility & contrast

On white

5.28
#5E52F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#5E52F3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E52F3
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E52F3#FFFFFF#000000##FFFFFF
##5E52F31.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F8
Deuteranopia (green-blind)
#0065F0
Tritanopia (blue-blind)
#007C9C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5e52f3;
/* rgb */ color: rgb(94, 82, 243);
/* oklch */ color: oklch(55.1% 0.231 279.0);
Tailwind
colors: {
  custom: {
    50: '#9b84f8',
    500: '#5e52f3',
    950: '#000000',
  },
}
SCSS
$custom: #5e52f3;
$custom-light: #9b84f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e52f3",
  "rgb": {
    "r": 94,
    "g": 82,
    "b": 243
  },
  "hsl": {
    "h": 244.472,
    "s": 87.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.55113,
    "c": 0.23102,
    "h": 279
  },
  "luminance": 0.14885
}

Semantic roles & 50–950 ramp

primary
#5E52F3
secondary
#E9EDB4
accent
#E402D3
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #5E52F3

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

Preview Lab → · Contrast checker → · Palette generator →

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