#5452E1#5452E1

#5452E1 is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 52.9% C 0.211 H 277.0°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#5452E1
RGBrgb(84, 82, 225)
HSLhsl(241, 70%, 60%)
HSVhsv(241, 64%, 88%)
CMYKcmyk(62.7%, 63.6%, 0%, 11.8%)
CIE-LABlab(43.29, 43.11, -72.60)
CIE-LCHlch(43.29, 84.44, 300.70°)
OKLaboklab(52.89% 0.0257 -0.2092)
OKLCHoklch(52.89% 0.211 277)
XYZxyz(20.2596, 13.3540, 72.7295)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5452E1 #DFE152
analogous
#5298E1 #5452E1 #9B52E1
triadic
#5452E1 #E15452 #52E154
tetradic
#5452E1 #E15298 #DFE152 #52E19B
square
#5452E1 #E15298 #DFE152 #52E19B
split-complementary
#5452E1 #E19B52 #98E152
monochromatic
#1D1B9D #2724D1 #5452E1 #8886EA #BBBAF3

Accessibility & contrast

On white

5.72
#5452E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#5452E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5452E1
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5452E1#FFFFFF#000000##FFFFFF
##5452E11.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE6
Deuteranopia (green-blind)
#0060DE
Tritanopia (blue-blind)
#007692
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5452e1;
/* rgb */ color: rgb(84, 82, 225);
/* oklch */ color: oklch(52.9% 0.211 277.0);
Tailwind
colors: {
  custom: {
    50: '#9383eb',
    500: '#5452e1',
    950: '#000000',
  },
}
SCSS
$custom: #5452e1;
$custom-light: #9383eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5452e1",
  "rgb": {
    "r": 84,
    "g": 82,
    "b": 225
  },
  "hsl": {
    "h": 240.839,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.52892,
    "c": 0.2108,
    "h": 277
  },
  "luminance": 0.13356
}

Semantic roles & 50–950 ramp

primary
#5452E1
secondary
#E2E3AC
accent
#D213D0
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5452E1

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

Preview Lab → · Contrast checker → · Palette generator →

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