#5451C4#5451C4

#5451C4 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.4% C 0.174 H 279.3°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#5451C4
RGBrgb(84, 81, 196)
HSLhsl(242, 49%, 54%)
HSVhsv(242, 59%, 77%)
CMYKcmyk(57.1%, 58.7%, 0%, 23.1%)
CIE-LABlab(40.82, 34.33, -59.96)
CIE-LCHlch(40.82, 69.09, 299.80°)
OKLaboklab(50.38% 0.0281 -0.1721)
OKLCHoklch(50.38% 0.174 279.3)
XYZxyz(16.5592, 11.7541, 53.6100)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5451C4 #C1C451
analogous
#5188C4 #5451C4 #8E51C4
triadic
#5451C4 #C45451 #51C454
tetradic
#5451C4 #C45188 #C1C451 #51C48E
square
#5451C4 #C45188 #C1C451 #51C48E
split-complementary
#5451C4 #C48E51 #88C451
monochromatic
#292773 #3937A1 #5451C4 #817FD3 #AEACE3

Accessibility & contrast

On white

6.27
#5451C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5451C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5451C4
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5451C4#FFFFFF#000000##FFFFFF
##5451C41.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C8
Deuteranopia (green-blind)
#005CC2
Tritanopia (blue-blind)
#136C82
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5451c4;
/* rgb */ color: rgb(84, 81, 196);
/* oklch */ color: oklch(50.4% 0.174 279.3);
Tailwind
colors: {
  custom: {
    50: '#8e82d7',
    500: '#5451c4',
    950: '#000000',
  },
}
SCSS
$custom: #5451c4;
$custom-light: #8e82d7;
$custom-dark: #000000;
JSON
{
  "hex": "#5451c4",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 196
  },
  "hsl": {
    "h": 241.565,
    "s": 49.356,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5038,
    "c": 0.17436,
    "h": 279.3
  },
  "luminance": 0.11755
}

Semantic roles & 50–950 ramp

primary
#5451C4
secondary
#D0D1A0
accent
#D94FD5
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #5451C4

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

Preview Lab → · Contrast checker → · Palette generator →

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