#5451CF#5451CF

#5451CF is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.2% C 0.189 H 278.4°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#5451CF
RGBrgb(84, 81, 207)
HSLhsl(241, 57%, 56%)
HSVhsv(241, 61%, 81%)
CMYKcmyk(59.4%, 60.9%, 0%, 18.8%)
CIE-LABlab(41.65, 37.89, -64.98)
CIE-LCHlch(41.65, 75.22, 300.25°)
OKLaboklab(51.25% 0.0277 -0.1869)
OKLCHoklch(51.25% 0.189 278.4)
XYZxyz(17.8575, 12.2734, 60.4474)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5451CF #CCCF51
analogous
#518DCF #5451CF #9351CF
triadic
#5451CF #CF5451 #51CF54
tetradic
#5451CF #CF518D #CCCF51 #51CF93
square
#5451CF #CF518D #CCCF51 #51CF93
split-complementary
#5451CF #CF9351 #8DCF51
monochromatic
#262482 #3431B2 #5451CF #8381DC #B2B1E9

Accessibility & contrast

On white

6.08
#5451CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#5451CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5451CF
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5451CF#FFFFFF#000000##FFFFFF
##5451CF1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#005DCC
Tritanopia (blue-blind)
#007088
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5451cf;
/* rgb */ color: rgb(84, 81, 207);
/* oklch */ color: oklch(51.2% 0.189 278.4);
Tailwind
colors: {
  custom: {
    50: '#9082df',
    500: '#5451cf',
    950: '#000000',
  },
}
SCSS
$custom: #5451cf;
$custom-light: #9082df;
$custom-dark: #000000;
JSON
{
  "hex": "#5451cf",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 207
  },
  "hsl": {
    "h": 241.429,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51247,
    "c": 0.18891,
    "h": 278.4
  },
  "luminance": 0.12275
}

Semantic roles & 50–950 ramp

primary
#5451CF
secondary
#D7D8A4
accent
#E048DC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5451CF

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

Preview Lab → · Contrast checker → · Palette generator →

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