#5451BC#5451BC

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

Color values

HEX#5451BC
RGBrgb(84, 81, 188)
HSLhsl(242, 44%, 53%)
HSVhsv(242, 57%, 74%)
CMYKcmyk(55.3%, 56.9%, 0%, 26.3%)
CIE-LABlab(40.25, 31.75, -56.23)
CIE-LCHlch(40.25, 64.57, 299.45°)
OKLaboklab(49.77% 0.0281 -0.1611)
OKLCHoklch(49.77% 0.164 279.9)
XYZxyz(15.6728, 11.3995, 48.9417)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5451BC #B9BC51
analogous
#5184BC #5451BC #8951BC
triadic
#5451BC #BC5451 #51BC54
tetradic
#5451BC #BC5184 #B9BC51 #51BC89
square
#5451BC #BC5184 #B9BC51 #51BC89
split-complementary
#5451BC #BC8951 #84BC51
monochromatic
#2B296A #3C3A96 #5451BC #7F7DCD #ABA9DE

Accessibility & contrast

On white

6.40
#5451BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#5451BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5451BC
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5451BC#FFFFFF#000000##FFFFFF
##5451BC1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#005BBA
Tritanopia (blue-blind)
#216A7E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5451bc;
/* rgb */ color: rgb(84, 81, 188);
/* oklch */ color: oklch(49.8% 0.164 279.9);
Tailwind
colors: {
  custom: {
    50: '#8d82d1',
    500: '#5451bc',
    950: '#000000',
  },
}
SCSS
$custom: #5451bc;
$custom-light: #8d82d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5451bc",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 241.682,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.4977,
    "c": 0.16354,
    "h": 279.9
  },
  "luminance": 0.11401
}

Semantic roles & 50–950 ramp

primary
#5451BC
secondary
#CACC9D
accent
#D454D1
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #5451BC

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

Preview Lab → · Contrast checker → · Palette generator →

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