#5452E4#5452E4

#5452E4 is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.1% C 0.215 H 276.8°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5452E4
RGBrgb(84, 82, 228)
HSLhsl(241, 73%, 61%)
HSVhsv(241, 64%, 89%)
CMYKcmyk(63.2%, 64%, 0%, 10.6%)
CIE-LABlab(43.54, 44.07, -73.91)
CIE-LCHlch(43.54, 86.05, 300.81°)
OKLaboklab(53.15% 0.0255 -0.213)
OKLCHoklch(53.15% 0.215 276.8)
XYZxyz(20.6725, 13.5191, 74.9038)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5452E4 #E2E452
analogous
#5299E4 #5452E4 #9D52E4
triadic
#5452E4 #E45452 #52E454
tetradic
#5452E4 #E45299 #E2E452 #52E49D
square
#5452E4 #E45299 #E2E452 #52E49D
split-complementary
#5452E4 #E49D52 #99E452
monochromatic
#1B19A2 #2422D7 #5452E4 #8887EC #BDBCF5

Accessibility & contrast

On white

5.67
#5452E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#5452E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5452E4
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5452E4#FFFFFF#000000##FFFFFF
##5452E41.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE9
Deuteranopia (green-blind)
#0061E1
Tritanopia (blue-blind)
#007794
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5452e4;
/* rgb */ color: rgb(84, 82, 228);
/* oklch */ color: oklch(53.1% 0.215 276.8);
Tailwind
colors: {
  custom: {
    50: '#9383ee',
    500: '#5452e4',
    950: '#000000',
  },
}
SCSS
$custom: #5452e4;
$custom-light: #9383ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5452e4",
  "rgb": {
    "r": 84,
    "g": 82,
    "b": 228
  },
  "hsl": {
    "h": 240.822,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.53145,
    "c": 0.21457,
    "h": 276.8
  },
  "luminance": 0.13521
}

Semantic roles & 50–950 ramp

primary
#5452E4
secondary
#E4E5AD
accent
#D510D2
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5452E4

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

Preview Lab → · Contrast checker → · Palette generator →

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