#5452BB#5452BB

#5452BB is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.9% C 0.161 H 279.7°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#5452BB
RGBrgb(84, 82, 187)
HSLhsl(241, 44%, 53%)
HSVhsv(241, 56%, 73%)
CMYKcmyk(55.1%, 56.1%, 0%, 26.7%)
CIE-LABlab(40.42, 30.80, -55.36)
CIE-LCHlch(40.42, 63.35, 299.09°)
OKLaboklab(49.88% 0.0271 -0.1585)
OKLCHoklch(49.88% 0.161 279.7)
XYZxyz(15.6403, 11.5063, 48.4008)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5452BB #B9BB52
analogous
#5284BB #5452BB #8852BB
triadic
#5452BB #BB5452 #52BB54
tetradic
#5452BB #BB5284 #B9BB52 #52BB88
square
#5452BB #BB5284 #B9BB52 #52BB88
split-complementary
#5452BB #BB8852 #84BB52
monochromatic
#2B2969 #3C3B95 #5452BB #7F7ECC #ABAADE

Accessibility & contrast

On white

6.36
#5452BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#5452BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5452BB
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5452BB#FFFFFF#000000##FFFFFF
##5452BB1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0263BF
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#226A7E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5452bb;
/* rgb */ color: rgb(84, 82, 187);
/* oklch */ color: oklch(49.9% 0.161 279.7);
Tailwind
colors: {
  custom: {
    50: '#8d82d0',
    500: '#5452bb',
    950: '#000000',
  },
}
SCSS
$custom: #5452bb;
$custom-light: #8d82d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5452bb",
  "rgb": {
    "r": 84,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 241.143,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.49878,
    "c": 0.16084,
    "h": 279.7
  },
  "luminance": 0.11507
}

Semantic roles & 50–950 ramp

primary
#5452BB
secondary
#CACB9E
accent
#D354D1
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #5452BB

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

Preview Lab → · Contrast checker → · Palette generator →

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