#5452CE#5452CE

#5452CE is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.3% C 0.186 H 278.3°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#5452CE
RGBrgb(84, 82, 206)
HSLhsl(241, 56%, 56%)
HSVhsv(241, 60%, 81%)
CMYKcmyk(59.2%, 60.2%, 0%, 19.2%)
CIE-LABlab(41.80, 36.96, -64.15)
CIE-LCHlch(41.80, 74.04, 299.95°)
OKLaboklab(51.34% 0.0269 -0.1844)
OKLCHoklch(51.34% 0.186 278.3)
XYZxyz(17.8105, 12.3743, 59.8305)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5452CE #CCCE52
analogous
#528ECE #5452CE #9252CE
triadic
#5452CE #CE5452 #52CE54
tetradic
#5452CE #CE528E #CCCE52 #52CE92
square
#5452CE #CE528E #CCCE52 #52CE92
split-complementary
#5452CE #CE9252 #8ECE52
monochromatic
#262581 #3432B1 #5452CE #8382DC #B2B1E9

Accessibility & contrast

On white

6.04
#5452CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#5452CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5452CE
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5452CE#FFFFFF#000000##FFFFFF
##5452CE1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#005ECC
Tritanopia (blue-blind)
#007088
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5452ce;
/* rgb */ color: rgb(84, 82, 206);
/* oklch */ color: oklch(51.3% 0.186 278.3);
Tailwind
colors: {
  custom: {
    50: '#9083de',
    500: '#5452ce',
    950: '#000000',
  },
}
SCSS
$custom: #5452ce;
$custom-light: #9083de;
$custom-dark: #000000;
JSON
{
  "hex": "#5452ce",
  "rgb": {
    "r": 84,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 240.968,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51339,
    "c": 0.18635,
    "h": 278.3
  },
  "luminance": 0.12376
}

Semantic roles & 50–950 ramp

primary
#5452CE
secondary
#D7D7A4
accent
#DF49DD
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5452CE

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

Preview Lab → · Contrast checker → · Palette generator →

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