#5451C8#5451C8

#5451C8 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.7% C 0.180 H 279.0°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#5451C8
RGBrgb(84, 81, 200)
HSLhsl(242, 52%, 55%)
HSVhsv(242, 60%, 78%)
CMYKcmyk(58%, 59.5%, 0%, 21.6%)
CIE-LABlab(41.12, 35.63, -61.80)
CIE-LCHlch(41.12, 71.33, 299.96°)
OKLaboklab(50.69% 0.028 -0.1775)
OKLCHoklch(50.69% 0.18 279)
XYZxyz(17.0206, 11.9386, 56.0399)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5451C8 #C5C851
analogous
#5189C8 #5451C8 #9051C8
triadic
#5451C8 #C85451 #51C854
tetradic
#5451C8 #C85189 #C5C851 #51C890
square
#5451C8 #C85189 #C5C851 #51C890
split-complementary
#5451C8 #C89051 #89C851
monochromatic
#282679 #3835A7 #5451C8 #8280D7 #AFAEE5

Accessibility & contrast

On white

6.20
#5451C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#5451C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5451C8
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5451C8#FFFFFF#000000##FFFFFF
##5451C81.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#005CC6
Tritanopia (blue-blind)
#066E85
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5451c8;
/* rgb */ color: rgb(84, 81, 200);
/* oklch */ color: oklch(50.7% 0.180 279.0);
Tailwind
colors: {
  custom: {
    50: '#8f82da',
    500: '#5451c8',
    950: '#000000',
  },
}
SCSS
$custom: #5451c8;
$custom-light: #8f82da;
$custom-dark: #000000;
JSON
{
  "hex": "#5451c8",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 200
  },
  "hsl": {
    "h": 241.513,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.50692,
    "c": 0.17968,
    "h": 279
  },
  "luminance": 0.1194
}

Semantic roles & 50–950 ramp

primary
#5451C8
secondary
#D2D3A1
accent
#DB4CD8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #5451C8

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

Preview Lab → · Contrast checker → · Palette generator →

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