#5451DB#5451DB

#5451DB is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.2% C 0.204 H 277.6°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#5451DB
RGBrgb(84, 81, 219)
HSLhsl(241, 66%, 59%)
HSVhsv(241, 63%, 86%)
CMYKcmyk(61.6%, 63%, 0%, 14.1%)
CIE-LABlab(42.59, 41.77, -70.34)
CIE-LCHlch(42.59, 81.80, 300.70°)
OKLaboklab(52.23% 0.027 -0.2026)
OKLCHoklch(52.23% 0.204 277.6)
XYZxyz(19.3806, 12.8826, 68.4694)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5451DB #D8DB51
analogous
#5193DB #5451DB #9951DB
triadic
#5451DB #DB5451 #51DB54
tetradic
#5451DB #DB5193 #D8DB51 #51DB99
square
#5451DB #DB5193 #D8DB51 #51DB99
split-complementary
#5451DB #DB9951 #93DB51
monochromatic
#211E93 #2C29C6 #5451DB #8684E5 #B8B6F0

Accessibility & contrast

On white

5.87
#5451DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#5451DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5451DB
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5451DB#FFFFFF#000000##FFFFFF
##5451DB1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADF
Deuteranopia (green-blind)
#005FD8
Tritanopia (blue-blind)
#00748E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5451db;
/* rgb */ color: rgb(84, 81, 219);
/* oklch */ color: oklch(52.2% 0.204 277.6);
Tailwind
colors: {
  custom: {
    50: '#9282e7',
    500: '#5451db',
    950: '#000000',
  },
}
SCSS
$custom: #5451db;
$custom-light: #9282e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5451db",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 241.304,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.52227,
    "c": 0.20437,
    "h": 277.6
  },
  "luminance": 0.12884
}

Semantic roles & 50–950 ramp

primary
#5451DB
secondary
#DEDFA9
accent
#E93FE5
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5451DB

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

Preview Lab → · Contrast checker → · Palette generator →

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