#5452C8#5452C8

#5452C8 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.9% C 0.178 H 278.7°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#5452C8
RGBrgb(84, 82, 200)
HSLhsl(241, 52%, 55%)
HSVhsv(241, 59%, 78%)
CMYKcmyk(58%, 59%, 0%, 21.6%)
CIE-LABlab(41.36, 35.01, -61.41)
CIE-LCHlch(41.36, 70.69, 299.69°)
OKLaboklab(50.87% 0.027 -0.1763)
OKLCHoklch(50.87% 0.178 278.7)
XYZxyz(17.0955, 12.0883, 56.0648)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5452C8 #C6C852
analogous
#528BC8 #5452C8 #8F52C8
triadic
#5452C8 #C85452 #52C854
tetradic
#5452C8 #C8528B #C6C852 #52C88F
square
#5452C8 #C8528B #C6C852 #52C88F
split-complementary
#5452C8 #C88F52 #8BC852
monochromatic
#282779 #3735A8 #5452C8 #8280D7 #B0AFE6

Accessibility & contrast

On white

6.14
#5452C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#5452C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5452C8
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5452C8#FFFFFF#000000##FFFFFF
##5452C81.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#005DC6
Tritanopia (blue-blind)
#056E85
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5452c8;
/* rgb */ color: rgb(84, 82, 200);
/* oklch */ color: oklch(50.9% 0.178 278.7);
Tailwind
colors: {
  custom: {
    50: '#8f83da',
    500: '#5452c8',
    950: '#000000',
  },
}
SCSS
$custom: #5452c8;
$custom-light: #8f83da;
$custom-dark: #000000;
JSON
{
  "hex": "#5452c8",
  "rgb": {
    "r": 84,
    "g": 82,
    "b": 200
  },
  "hsl": {
    "h": 241.017,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.50867,
    "c": 0.17841,
    "h": 278.7
  },
  "luminance": 0.1209
}

Semantic roles & 50–950 ramp

primary
#5452C8
secondary
#D3D4A2
accent
#DB4DD9
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #5452C8

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

Preview Lab → · Contrast checker → · Palette generator →

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