#5451CE#5451CE

#5451CE is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.2% C 0.188 H 278.5°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#5451CE
RGBrgb(84, 81, 206)
HSLhsl(241, 56%, 56%)
HSVhsv(241, 61%, 81%)
CMYKcmyk(59.2%, 60.7%, 0%, 19.2%)
CIE-LABlab(41.57, 37.57, -64.53)
CIE-LCHlch(41.57, 74.67, 300.21°)
OKLaboklab(51.17% 0.0278 -0.1855)
OKLCHoklch(51.17% 0.188 278.5)
XYZxyz(17.7356, 12.2246, 59.8055)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5451CE #CBCE51
analogous
#518DCE #5451CE #9351CE
triadic
#5451CE #CE5451 #51CE54
tetradic
#5451CE #CE518D #CBCE51 #51CE93
square
#5451CE #CE518D #CBCE51 #51CE93
split-complementary
#5451CE #CE9351 #8DCE51
monochromatic
#262480 #3532B0 #5451CE #8381DB #B2B1E9

Accessibility & contrast

On white

6.10
#5451CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#5451CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5451CE
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5451CE#FFFFFF#000000##FFFFFF
##5451CE1.006.103.456.10
#FFFFFF6.101.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5451ce;
/* rgb */ color: rgb(84, 81, 206);
/* oklch */ color: oklch(51.2% 0.188 278.5);
Tailwind
colors: {
  custom: {
    50: '#9082de',
    500: '#5451ce',
    950: '#000000',
  },
}
SCSS
$custom: #5451ce;
$custom-light: #9082de;
$custom-dark: #000000;
JSON
{
  "hex": "#5451ce",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 206
  },
  "hsl": {
    "h": 241.44,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51167,
    "c": 0.1876,
    "h": 278.5
  },
  "luminance": 0.12226
}

Semantic roles & 50–950 ramp

primary
#5451CE
secondary
#D6D7A4
accent
#DF48DC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5451CE

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

Preview Lab → · Contrast checker → · Palette generator →

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