#5452EA#5452EA

#5452EA is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.7% C 0.222 H 276.4°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#5452EA
RGBrgb(84, 82, 234)
HSLhsl(241, 78%, 62%)
HSVhsv(241, 65%, 92%)
CMYKcmyk(64.1%, 65%, 0%, 8.2%)
CIE-LABlab(44.03, 46.00, -76.50)
CIE-LCHlch(44.03, 89.26, 301.02°)
OKLaboklab(53.66% 0.0249 -0.2206)
OKLCHoklch(53.66% 0.222 276.4)
XYZxyz(21.5199, 13.8581, 79.3668)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5452EA #E8EA52
analogous
#529CEA #5452EA #A052EA
triadic
#5452EA #EA5452 #52EA54
tetradic
#5452EA #EA529C #E8EA52 #52EAA0
square
#5452EA #EA529C #E8EA52 #52EAA0
split-complementary
#5452EA #EAA052 #9CEA52
monochromatic
#1715AD #1E1CE3 #5452EA #8A89F1 #C0BFF7

Accessibility & contrast

On white

5.57
#5452EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#5452EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5452EA
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5452EA#FFFFFF#000000##FFFFFF
##5452EA1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEF
Deuteranopia (green-blind)
#0061E7
Tritanopia (blue-blind)
#007A97
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5452ea;
/* rgb */ color: rgb(84, 82, 234);
/* oklch */ color: oklch(53.7% 0.222 276.4);
Tailwind
colors: {
  custom: {
    50: '#9583f2',
    500: '#5452ea',
    950: '#000000',
  },
}
SCSS
$custom: #5452ea;
$custom-light: #9583f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5452ea",
  "rgb": {
    "r": 84,
    "g": 82,
    "b": 234
  },
  "hsl": {
    "h": 240.789,
    "s": 78.351,
    "l": 61.961
  },
  "oklch": {
    "l": 0.53657,
    "c": 0.22205,
    "h": 276.4
  },
  "luminance": 0.1386
}

Semantic roles & 50–950 ramp

primary
#5452EA
secondary
#E7E8B0
accent
#DB0BD8
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5452EA

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

Preview Lab → · Contrast checker → · Palette generator →

#5452EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva