#5452CB#5452CB

#5452CB is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.1% C 0.182 H 278.5°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#5452CB
RGBrgb(84, 82, 203)
HSLhsl(241, 54%, 56%)
HSVhsv(241, 60%, 80%)
CMYKcmyk(58.6%, 59.6%, 0%, 20.4%)
CIE-LABlab(41.58, 35.99, -62.79)
CIE-LCHlch(41.58, 72.37, 299.82°)
OKLaboklab(51.1% 0.027 -0.1804)
OKLCHoklch(51.1% 0.182 278.5)
XYZxyz(17.4495, 12.2300, 57.9294)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5452CB #C9CB52
analogous
#528CCB #5452CB #9052CB
triadic
#5452CB #CB5452 #52CB54
tetradic
#5452CB #CB528C #C9CB52 #52CB90
square
#5452CB #CB528C #C9CB52 #52CB90
split-complementary
#5452CB #CB9052 #8CCB52
monochromatic
#27267D #3634AC #5452CB #8381D9 #B1B0E7

Accessibility & contrast

On white

6.09
#5452CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#5452CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5452CB
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5452CB#FFFFFF#000000##FFFFFF
##5452CB1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5452cb;
/* rgb */ color: rgb(84, 82, 203);
/* oklch */ color: oklch(51.1% 0.182 278.5);
Tailwind
colors: {
  custom: {
    50: '#8f83dc',
    500: '#5452cb',
    950: '#000000',
  },
}
SCSS
$custom: #5452cb;
$custom-light: #8f83dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5452cb",
  "rgb": {
    "r": 84,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 240.992,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.51102,
    "c": 0.18239,
    "h": 278.5
  },
  "luminance": 0.12231
}

Semantic roles & 50–950 ramp

primary
#5452CB
secondary
#D5D5A3
accent
#DD4BDB
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5452CB

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

Preview Lab → · Contrast checker → · Palette generator →

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