#5451CD#5451CD

#5451CD is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.1% C 0.186 H 278.6°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#5451CD
RGBrgb(84, 81, 205)
HSLhsl(241, 55%, 56%)
HSVhsv(241, 60%, 80%)
CMYKcmyk(59%, 60.5%, 0%, 19.6%)
CIE-LABlab(41.49, 37.24, -64.08)
CIE-LCHlch(41.49, 74.12, 300.17°)
OKLaboklab(51.09% 0.0278 -0.1842)
OKLCHoklch(51.09% 0.186 278.6)
XYZxyz(17.6145, 12.1762, 59.1678)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5451CD #CACD51
analogous
#518CCD #5451CD #9251CD
triadic
#5451CD #CD5451 #51CD54
tetradic
#5451CD #CD518C #CACD51 #51CD92
square
#5451CD #CD518C #CACD51 #51CD92
split-complementary
#5451CD #CD9251 #8CCD51
monochromatic
#27257F #3532AF #5451CD #8381DB #B1B0E8

Accessibility & contrast

On white

6.11
#5451CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#5451CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5451CD
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5451CD#FFFFFF#000000##FFFFFF
##5451CD1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#005DCB
Tritanopia (blue-blind)
#006F87
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5451cd;
/* rgb */ color: rgb(84, 81, 205);
/* oklch */ color: oklch(51.1% 0.186 278.6);
Tailwind
colors: {
  custom: {
    50: '#9082dd',
    500: '#5451cd',
    950: '#000000',
  },
}
SCSS
$custom: #5451cd;
$custom-light: #9082dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5451cd",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 241.452,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51087,
    "c": 0.18629,
    "h": 278.6
  },
  "luminance": 0.12177
}

Semantic roles & 50–950 ramp

primary
#5451CD
secondary
#D5D7A3
accent
#DF49DB
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5451CD

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

Preview Lab → · Contrast checker → · Palette generator →

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