#5451CA#5451CA

#5451CA is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.8% C 0.182 H 278.8°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#5451CA
RGBrgb(84, 81, 202)
HSLhsl(241, 53%, 55%)
HSVhsv(241, 60%, 79%)
CMYKcmyk(58.4%, 59.9%, 0%, 20.8%)
CIE-LABlab(41.27, 36.27, -62.71)
CIE-LCHlch(41.27, 72.45, 300.05°)
OKLaboklab(50.85% 0.0279 -0.1802)
OKLCHoklch(50.85% 0.182 278.8)
XYZxyz(17.2559, 12.0327, 57.2789)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5451CA #C7CA51
analogous
#518ACA #5451CA #9151CA
triadic
#5451CA #CA5451 #51CA54
tetradic
#5451CA #CA518A #C7CA51 #51CA91
square
#5451CA #CA518A #C7CA51 #51CA91
split-complementary
#5451CA #CA9151 #8ACA51
monochromatic
#28257B #3734AA #5451CA #8280D8 #B0AFE7

Accessibility & contrast

On white

6.16
#5451CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#5451CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5451CA
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5451CA#FFFFFF#000000##FFFFFF
##5451CA1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#005CC8
Tritanopia (blue-blind)
#006E86
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5451ca;
/* rgb */ color: rgb(84, 81, 202);
/* oklch */ color: oklch(50.8% 0.182 278.8);
Tailwind
colors: {
  custom: {
    50: '#8f82db',
    500: '#5451ca',
    950: '#000000',
  },
}
SCSS
$custom: #5451ca;
$custom-light: #8f82db;
$custom-dark: #000000;
JSON
{
  "hex": "#5451ca",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 202
  },
  "hsl": {
    "h": 241.488,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.50849,
    "c": 0.18233,
    "h": 278.8
  },
  "luminance": 0.12034
}

Semantic roles & 50–950 ramp

primary
#5451CA
secondary
#D3D5A2
accent
#DD4BD9
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #5451CA

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

Preview Lab → · Contrast checker → · Palette generator →

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