#5451BB#5451BB

#5451BB is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.7% C 0.162 H 280.0°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#5451BB
RGBrgb(84, 81, 187)
HSLhsl(242, 44%, 53%)
HSVhsv(242, 57%, 73%)
CMYKcmyk(55.1%, 56.7%, 0%, 26.7%)
CIE-LABlab(40.17, 31.42, -55.76)
CIE-LCHlch(40.17, 64.00, 299.40°)
OKLaboklab(49.7% 0.0281 -0.1597)
OKLCHoklch(49.7% 0.162 280)
XYZxyz(15.5654, 11.3565, 48.3759)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5451BB #B8BB51
analogous
#5183BB #5451BB #8951BB
triadic
#5451BB #BB5451 #51BB54
tetradic
#5451BB #BB5183 #B8BB51 #51BB89
square
#5451BB #BB5183 #B8BB51 #51BB89
split-complementary
#5451BB #BB8951 #83BB51
monochromatic
#2B2969 #3D3A95 #5451BB #7F7DCC #AAA9DD

Accessibility & contrast

On white

6.42
#5451BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#5451BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5451BB
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5451BB#FFFFFF#000000##FFFFFF
##5451BB1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5451bb;
/* rgb */ color: rgb(84, 81, 187);
/* oklch */ color: oklch(49.7% 0.162 280.0);
Tailwind
colors: {
  custom: {
    50: '#8d82d0',
    500: '#5451bb',
    950: '#000000',
  },
}
SCSS
$custom: #5451bb;
$custom-light: #8d82d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5451bb",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 187
  },
  "hsl": {
    "h": 241.698,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.49695,
    "c": 0.16218,
    "h": 280
  },
  "luminance": 0.11358
}

Semantic roles & 50–950 ramp

primary
#5451BB
secondary
#CACB9D
accent
#D454D0
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #5451BB

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

Preview Lab → · Contrast checker → · Palette generator →

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