#5451C9#5451C9

#5451C9 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.8% C 0.181 H 278.9°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#5451C9
RGBrgb(84, 81, 201)
HSLhsl(242, 53%, 55%)
HSVhsv(242, 60%, 79%)
CMYKcmyk(58.2%, 59.7%, 0%, 21.2%)
CIE-LABlab(41.19, 35.95, -62.26)
CIE-LCHlch(41.19, 71.89, 300.00°)
OKLaboklab(50.77% 0.028 -0.1788)
OKLCHoklch(50.77% 0.181 278.9)
XYZxyz(17.1379, 11.9855, 56.6574)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5451C9 #C6C951
analogous
#518AC9 #5451C9 #9051C9
triadic
#5451C9 #C95451 #51C954
tetradic
#5451C9 #C9518A #C6C951 #51C990
square
#5451C9 #C9518A #C6C951 #51C990
split-complementary
#5451C9 #C99051 #8AC951
monochromatic
#28267A #3734A9 #5451C9 #8280D7 #B0AEE6

Accessibility & contrast

On white

6.18
#5451C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#5451C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5451C9
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5451C9#FFFFFF#000000##FFFFFF
##5451C91.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CD
Deuteranopia (green-blind)
#005CC7
Tritanopia (blue-blind)
#026E85
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5451c9;
/* rgb */ color: rgb(84, 81, 201);
/* oklch */ color: oklch(50.8% 0.181 278.9);
Tailwind
colors: {
  custom: {
    50: '#8f82da',
    500: '#5451c9',
    950: '#000000',
  },
}
SCSS
$custom: #5451c9;
$custom-light: #8f82da;
$custom-dark: #000000;
JSON
{
  "hex": "#5451c9",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 201
  },
  "hsl": {
    "h": 241.5,
    "s": 52.632,
    "l": 55.294
  },
  "oklch": {
    "l": 0.5077,
    "c": 0.18101,
    "h": 278.9
  },
  "luminance": 0.11987
}

Semantic roles & 50–950 ramp

primary
#5451C9
secondary
#D3D4A2
accent
#DC4CD8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #5451C9

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

Preview Lab → · Contrast checker → · Palette generator →

#5451C9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva