#5452CA#5452CA

#5452CA is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.0% C 0.181 H 278.6°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#5452CA
RGBrgb(84, 82, 202)
HSLhsl(241, 53%, 56%)
HSVhsv(241, 59%, 79%)
CMYKcmyk(58.4%, 59.4%, 0%, 20.8%)
CIE-LABlab(41.50, 35.66, -62.33)
CIE-LCHlch(41.50, 71.81, 299.78°)
OKLaboklab(51.02% 0.027 -0.179)
OKLCHoklch(51.02% 0.181 278.6)
XYZxyz(17.3307, 12.1824, 57.3039)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5452CA #C8CA52
analogous
#528CCA #5452CA #9052CA
triadic
#5452CA #CA5452 #52CA54
tetradic
#5452CA #CA528C #C8CA52 #52CA90
square
#5452CA #CA528C #C8CA52 #52CA90
split-complementary
#5452CA #CA9052 #8CCA52
monochromatic
#27267C #3634AB #5452CA #8281D8 #B1B0E7

Accessibility & contrast

On white

6.11
#5452CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#5452CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5452CA
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5452CA#FFFFFF#000000##FFFFFF
##5452CA1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#005DC8
Tritanopia (blue-blind)
#006F86
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5452ca;
/* rgb */ color: rgb(84, 82, 202);
/* oklch */ color: oklch(51.0% 0.181 278.6);
Tailwind
colors: {
  custom: {
    50: '#8f83db',
    500: '#5452ca',
    950: '#000000',
  },
}
SCSS
$custom: #5452ca;
$custom-light: #8f83db;
$custom-dark: #000000;
JSON
{
  "hex": "#5452ca",
  "rgb": {
    "r": 84,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 241,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.51023,
    "c": 0.18107,
    "h": 278.6
  },
  "luminance": 0.12184
}

Semantic roles & 50–950 ramp

primary
#5452CA
secondary
#D4D5A3
accent
#DD4BDA
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #5452CA

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

Preview Lab → · Contrast checker → · Palette generator →

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