#5452BF#5452BF

#5452BF is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.2% C 0.166 H 279.4°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#5452BF
RGBrgb(84, 82, 191)
HSLhsl(241, 46%, 54%)
HSVhsv(241, 57%, 75%)
CMYKcmyk(56%, 57.1%, 0%, 25.1%)
CIE-LABlab(40.70, 32.10, -57.24)
CIE-LCHlch(40.70, 65.63, 299.28°)
OKLaboklab(50.18% 0.0271 -0.1641)
OKLCHoklch(50.18% 0.166 279.4)
XYZxyz(16.0745, 11.6799, 50.6875)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5452BF #BDBF52
analogous
#5286BF #5452BF #8A52BF
triadic
#5452BF #BF5452 #52BF54
tetradic
#5452BF #BF5286 #BDBF52 #52BF8A
square
#5452BF #BF5286 #BDBF52 #52BF8A
split-complementary
#5452BF #BF8A52 #86BF52
monochromatic
#2A296E #3B399B #5452BF #807FD0 #ACABE0

Accessibility & contrast

On white

6.29
#5452BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#5452BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5452BF
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5452BF#FFFFFF#000000##FFFFFF
##5452BF1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#1C6B80
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5452bf;
/* rgb */ color: rgb(84, 82, 191);
/* oklch */ color: oklch(50.2% 0.166 279.4);
Tailwind
colors: {
  custom: {
    50: '#8d82d3',
    500: '#5452bf',
    950: '#000000',
  },
}
SCSS
$custom: #5452bf;
$custom-light: #8d82d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5452bf",
  "rgb": {
    "r": 84,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 241.101,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50177,
    "c": 0.1663,
    "h": 279.4
  },
  "luminance": 0.11681
}

Semantic roles & 50–950 ramp

primary
#5452BF
secondary
#CDCE9F
accent
#D652D3
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #5452BF

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

Preview Lab → · Contrast checker → · Palette generator →

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