#5451D3#5451D3

#5451D3 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.6% C 0.194 H 278.2°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#5451D3
RGBrgb(84, 81, 211)
HSLhsl(241, 60%, 57%)
HSVhsv(241, 62%, 83%)
CMYKcmyk(60.2%, 61.6%, 0%, 17.3%)
CIE-LABlab(41.96, 39.19, -66.78)
CIE-LCHlch(41.96, 77.43, 300.40°)
OKLaboklab(51.57% 0.0275 -0.1921)
OKLCHoklch(51.57% 0.194 278.2)
XYZxyz(18.3527, 12.4715, 63.0555)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5451D3 #D0D351
analogous
#518FD3 #5451D3 #9551D3
triadic
#5451D3 #D35451 #51D354
tetradic
#5451D3 #D3518F #D0D351 #51D395
square
#5451D3 #D3518F #D0D351 #51D395
split-complementary
#5451D3 #D39551 #8FD351
monochromatic
#252287 #322FB8 #5451D3 #8482DF #B4B3EC

Accessibility & contrast

On white

6.01
#5451D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#5451D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5451D3
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5451D3#FFFFFF#000000##FFFFFF
##5451D31.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5451d3;
/* rgb */ color: rgb(84, 81, 211);
/* oklch */ color: oklch(51.6% 0.194 278.2);
Tailwind
colors: {
  custom: {
    50: '#9182e1',
    500: '#5451d3',
    950: '#000000',
  },
}
SCSS
$custom: #5451d3;
$custom-light: #9182e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5451d3",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 211
  },
  "hsl": {
    "h": 241.385,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5157,
    "c": 0.1941,
    "h": 278.2
  },
  "luminance": 0.12473
}

Semantic roles & 50–950 ramp

primary
#5451D3
secondary
#D9DAA6
accent
#E345DF
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5451D3

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

Preview Lab → · Contrast checker → · Palette generator →

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