#5452B2#5452B2

#5452B2 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.2% C 0.148 H 280.4°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#5452B2
RGBrgb(84, 82, 178)
HSLhsl(241, 38%, 51%)
HSVhsv(241, 54%, 70%)
CMYKcmyk(52.8%, 53.9%, 0%, 30.2%)
CIE-LABlab(39.80, 27.90, -51.07)
CIE-LCHlch(39.80, 58.19, 298.65°)
OKLaboklab(49.22% 0.0268 -0.1459)
OKLCHoklch(49.22% 0.148 280.4)
XYZxyz(14.7068, 11.1329, 43.4848)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5452B2 #B0B252
analogous
#5280B2 #5452B2 #8452B2
triadic
#5452B2 #B25452 #52B254
tetradic
#5452B2 #B25280 #B0B252 #52B284
square
#5452B2 #B25280 #B0B252 #52B284
split-complementary
#5452B2 #B28452 #80B252
monochromatic
#2B2A5F #3F3D8A #5452B2 #7E7CC5 #A8A7D8

Accessibility & contrast

On white

6.51
#5452B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#5452B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5452B2
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5452B2#FFFFFF#000000##FFFFFF
##5452B21.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B61B5
Deuteranopia (green-blind)
#0C5AB0
Tritanopia (blue-blind)
#2C687A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5452b2;
/* rgb */ color: rgb(84, 82, 178);
/* oklch */ color: oklch(49.2% 0.148 280.4);
Tailwind
colors: {
  custom: {
    50: '#8b82ca',
    500: '#5452b2',
    950: '#000000',
  },
}
SCSS
$custom: #5452b2;
$custom-light: #8b82ca;
$custom-dark: #000000;
JSON
{
  "hex": "#5452b2",
  "rgb": {
    "r": 84,
    "g": 82,
    "b": 178
  },
  "hsl": {
    "h": 241.25,
    "s": 38.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.49221,
    "c": 0.14836,
    "h": 280.4
  },
  "luminance": 0.11134
}

Semantic roles & 50–950 ramp

primary
#5452B2
secondary
#C4C59B
accent
#CE59CC
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0D0A13
muted
#7D7C82

Preview Lab

Preview with #5452B2

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

Preview Lab → · Contrast checker → · Palette generator →

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