#5451BD#5451BD

#5451BD is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.8% C 0.165 H 279.8°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#5451BD
RGBrgb(84, 81, 189)
HSLhsl(242, 45%, 53%)
HSVhsv(242, 57%, 74%)
CMYKcmyk(55.6%, 57.1%, 0%, 25.9%)
CIE-LABlab(40.32, 32.07, -56.70)
CIE-LCHlch(40.32, 65.14, 299.49°)
OKLaboklab(49.85% 0.0281 -0.1625)
OKLCHoklch(49.85% 0.165 279.8)
XYZxyz(15.7810, 11.4428, 49.5114)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5451BD #BABD51
analogous
#5184BD #5451BD #8A51BD
triadic
#5451BD #BD5451 #51BD54
tetradic
#5451BD #BD5184 #BABD51 #51BD8A
square
#5451BD #BD5184 #BABD51 #51BD8A
split-complementary
#5451BD #BD8A51 #84BD51
monochromatic
#2A296B #3C3997 #5451BD #807DCE #ABAADF

Accessibility & contrast

On white

6.39
#5451BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#5451BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5451BD
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5451BD#FFFFFF#000000##FFFFFF
##5451BD1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#005BBB
Tritanopia (blue-blind)
#1F6A7F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5451bd;
/* rgb */ color: rgb(84, 81, 189);
/* oklch */ color: oklch(49.8% 0.165 279.8);
Tailwind
colors: {
  custom: {
    50: '#8d82d2',
    500: '#5451bd',
    950: '#000000',
  },
}
SCSS
$custom: #5451bd;
$custom-light: #8d82d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5451bd",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 189
  },
  "hsl": {
    "h": 241.667,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.49845,
    "c": 0.16491,
    "h": 279.8
  },
  "luminance": 0.11444
}

Semantic roles & 50–950 ramp

primary
#5451BD
secondary
#CBCC9E
accent
#D553D1
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #5451BD

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

Preview Lab → · Contrast checker → · Palette generator →

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