#5451BF#5451BF

#5451BF is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.0% C 0.168 H 279.7°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#5451BF
RGBrgb(84, 81, 191)
HSLhsl(242, 46%, 53%)
HSVhsv(242, 58%, 75%)
CMYKcmyk(56%, 57.6%, 0%, 25.1%)
CIE-LABlab(40.46, 32.72, -57.63)
CIE-LCHlch(40.46, 66.27, 299.58°)
OKLaboklab(50% 0.0281 -0.1652)
OKLCHoklch(50% 0.168 279.7)
XYZxyz(15.9996, 11.5302, 50.6626)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5451BF #BCBF51
analogous
#5185BF #5451BF #8B51BF
triadic
#5451BF #BF5451 #51BF54
tetradic
#5451BF #BF5185 #BCBF51 #51BF8B
square
#5451BF #BF5185 #BCBF51 #51BF8B
split-complementary
#5451BF #BF8B51 #85BF51
monochromatic
#2A286D #3B399A #5451BF #807ECF #ACAAE0

Accessibility & contrast

On white

6.35
#5451BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#5451BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5451BF
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5451BF#FFFFFF#000000##FFFFFF
##5451BF1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#005BBD
Tritanopia (blue-blind)
#1C6B80
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5451bf;
/* rgb */ color: rgb(84, 81, 191);
/* oklch */ color: oklch(50.0% 0.168 279.7);
Tailwind
colors: {
  custom: {
    50: '#8d82d3',
    500: '#5451bf',
    950: '#000000',
  },
}
SCSS
$custom: #5451bf;
$custom-light: #8d82d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5451bf",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 191
  },
  "hsl": {
    "h": 241.636,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.49997,
    "c": 0.16763,
    "h": 279.7
  },
  "luminance": 0.11531
}

Semantic roles & 50–950 ramp

primary
#5451BF
secondary
#CCCE9E
accent
#D652D2
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #5451BF

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

Preview Lab → · Contrast checker → · Palette generator →

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