#5451CB#5451CB

#5451CB is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.9% C 0.184 H 278.7°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#5451CB
RGBrgb(84, 81, 203)
HSLhsl(241, 54%, 56%)
HSVhsv(241, 60%, 80%)
CMYKcmyk(58.6%, 60.1%, 0%, 20.4%)
CIE-LABlab(41.34, 36.60, -63.17)
CIE-LCHlch(41.34, 73.01, 300.09°)
OKLaboklab(50.93% 0.0279 -0.1815)
OKLCHoklch(50.93% 0.184 278.7)
XYZxyz(17.3746, 12.0802, 57.9045)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5451CB #C8CB51
analogous
#518BCB #5451CB #9151CB
triadic
#5451CB #CB5451 #51CB54
tetradic
#5451CB #CB518B #C8CB51 #51CB91
square
#5451CB #CB518B #C8CB51 #51CB91
split-complementary
#5451CB #CB9151 #8BCB51
monochromatic
#27257C #3633AC #5451CB #8280D9 #B1AFE7

Accessibility & contrast

On white

6.15
#5451CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#5451CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5451CB
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5451CB#FFFFFF#000000##FFFFFF
##5451CB1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#005DC9
Tritanopia (blue-blind)
#006F86
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5451cb;
/* rgb */ color: rgb(84, 81, 203);
/* oklch */ color: oklch(50.9% 0.184 278.7);
Tailwind
colors: {
  custom: {
    50: '#8f82dc',
    500: '#5451cb',
    950: '#000000',
  },
}
SCSS
$custom: #5451cb;
$custom-light: #8f82dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5451cb",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 203
  },
  "hsl": {
    "h": 241.475,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.50928,
    "c": 0.18365,
    "h": 278.7
  },
  "luminance": 0.12081
}

Semantic roles & 50–950 ramp

primary
#5451CB
secondary
#D4D5A3
accent
#DD4ADA
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5451CB

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

Preview Lab → · Contrast checker → · Palette generator →

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