#5452DC#5452DC

#5452DC is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.5% C 0.204 H 277.3°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#5452DC
RGBrgb(84, 82, 220)
HSLhsl(241, 66%, 59%)
HSVhsv(241, 63%, 86%)
CMYKcmyk(61.8%, 62.7%, 0%, 13.7%)
CIE-LABlab(42.89, 41.49, -70.41)
CIE-LCHlch(42.89, 81.73, 300.51°)
OKLaboklab(52.48% 0.0261 -0.2028)
OKLCHoklch(52.48% 0.204 277.3)
XYZxyz(19.5875, 13.0852, 69.1897)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5452DC #DADC52
analogous
#5295DC #5452DC #9952DC
triadic
#5452DC #DC5452 #52DC54
tetradic
#5452DC #DC5295 #DADC52 #52DC99
square
#5452DC #DC5295 #DADC52 #52DC99
split-complementary
#5452DC #DC9952 #95DC52
monochromatic
#201E95 #2B29C8 #5452DC #8685E6 #B9B8F1

Accessibility & contrast

On white

5.81
#5452DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#5452DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5452DC
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5452DC#FFFFFF#000000##FFFFFF
##5452DC1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE0
Deuteranopia (green-blind)
#005FD9
Tritanopia (blue-blind)
#00758F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5452dc;
/* rgb */ color: rgb(84, 82, 220);
/* oklch */ color: oklch(52.5% 0.204 277.3);
Tailwind
colors: {
  custom: {
    50: '#9283e8',
    500: '#5452dc',
    950: '#000000',
  },
}
SCSS
$custom: #5452dc;
$custom-light: #9283e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5452dc",
  "rgb": {
    "r": 84,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 240.87,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.52475,
    "c": 0.20447,
    "h": 277.3
  },
  "luminance": 0.13087
}

Semantic roles & 50–950 ramp

primary
#5452DC
secondary
#DFE0AA
accent
#E93FE7
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5452DC

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

Preview Lab → · Contrast checker → · Palette generator →

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