#5452D2#5452D2

#5452D2 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.7% C 0.192 H 278.0°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#5452D2
RGBrgb(84, 82, 210)
HSLhsl(241, 59%, 57%)
HSVhsv(241, 61%, 82%)
CMYKcmyk(60%, 61%, 0%, 17.6%)
CIE-LABlab(42.11, 38.26, -65.96)
CIE-LCHlch(42.11, 76.25, 300.12°)
OKLaboklab(51.66% 0.0267 -0.1897)
OKLCHoklch(51.66% 0.192 278)
XYZxyz(18.3026, 12.5712, 62.4223)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5452D2 #D0D252
analogous
#5290D2 #5452D2 #9452D2
triadic
#5452D2 #D25452 #52D254
tetradic
#5452D2 #D25290 #D0D252 #52D294
square
#5452D2 #D25290 #D0D252 #52D294
split-complementary
#5452D2 #D29452 #90D252
monochromatic
#252387 #3230B7 #5452D2 #8483DF #B4B3EB

Accessibility & contrast

On white

5.98
#5452D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#5452D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5452D2
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5452D2#FFFFFF#000000##FFFFFF
##5452D21.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#005ECF
Tritanopia (blue-blind)
#00728A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5452d2;
/* rgb */ color: rgb(84, 82, 210);
/* oklch */ color: oklch(51.7% 0.192 278.0);
Tailwind
colors: {
  custom: {
    50: '#9083e1',
    500: '#5452d2',
    950: '#000000',
  },
}
SCSS
$custom: #5452d2;
$custom-light: #9083e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5452d2",
  "rgb": {
    "r": 84,
    "g": 82,
    "b": 210
  },
  "hsl": {
    "h": 240.938,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.51659,
    "c": 0.19158,
    "h": 278
  },
  "luminance": 0.12573
}

Semantic roles & 50–950 ramp

primary
#5452D2
secondary
#D9DAA6
accent
#E246DF
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5452D2

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

Preview Lab → · Contrast checker → · Palette generator →

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