#5451D2#5451D2

#5451D2 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.5% C 0.193 H 278.2°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#5451D2
RGBrgb(84, 81, 210)
HSLhsl(241, 59%, 57%)
HSVhsv(241, 61%, 82%)
CMYKcmyk(60%, 61.4%, 0%, 17.6%)
CIE-LABlab(41.88, 38.86, -66.33)
CIE-LCHlch(41.88, 76.88, 300.36°)
OKLaboklab(51.49% 0.0276 -0.1908)
OKLCHoklch(51.49% 0.193 278.2)
XYZxyz(18.2277, 12.4215, 62.3973)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5451D2 #CFD251
analogous
#518FD2 #5451D2 #9451D2
triadic
#5451D2 #D25451 #51D254
tetradic
#5451D2 #D2518F #CFD251 #51D294
square
#5451D2 #D2518F #CFD251 #51D294
split-complementary
#5451D2 #D29451 #8FD251
monochromatic
#252386 #322FB7 #5451D2 #8482DF #B4B2EB

Accessibility & contrast

On white

6.03
#5451D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#5451D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5451D2
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5451D2#FFFFFF#000000##FFFFFF
##5451D21.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#005ECF
Tritanopia (blue-blind)
#00718A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5451d2;
/* rgb */ color: rgb(84, 81, 210);
/* oklch */ color: oklch(51.5% 0.193 278.2);
Tailwind
colors: {
  custom: {
    50: '#9082e1',
    500: '#5451d2',
    950: '#000000',
  },
}
SCSS
$custom: #5451d2;
$custom-light: #9082e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5451d2",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 210
  },
  "hsl": {
    "h": 241.395,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.51489,
    "c": 0.1928,
    "h": 278.2
  },
  "luminance": 0.12423
}

Semantic roles & 50–950 ramp

primary
#5451D2
secondary
#D8DAA5
accent
#E246DE
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5451D2

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

Preview Lab → · Contrast checker → · Palette generator →

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