#5451AF#5451AF

#5451AF is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.8% C 0.146 H 281.0°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#5451AF
RGBrgb(84, 81, 175)
HSLhsl(242, 37%, 50%)
HSVhsv(242, 54%, 69%)
CMYKcmyk(52%, 53.7%, 0%, 31.4%)
CIE-LABlab(39.35, 27.56, -50.03)
CIE-LCHlch(39.35, 57.12, 298.85°)
OKLaboklab(48.82% 0.0277 -0.1429)
OKLCHoklch(48.82% 0.146 281)
XYZxyz(14.3341, 10.8640, 41.8908)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5451AF #ACAF51
analogous
#517DAF #5451AF #8351AF
triadic
#5451AF #AF5451 #51AF54
tetradic
#5451AF #AF517D #ACAF51 #51AF83
square
#5451AF #AF517D #ACAF51 #51AF83
split-complementary
#5451AF #AF8351 #7DAF51
monochromatic
#2C2A5C #403D85 #5451AF #7D7BC2 #A6A5D6

Accessibility & contrast

On white

6.62
#5451AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#5451AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5451AF
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5451AF#FFFFFF#000000##FFFFFF
##5451AF1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D60B2
Deuteranopia (green-blind)
#1159AD
Tritanopia (blue-blind)
#2F6678
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5451af;
/* rgb */ color: rgb(84, 81, 175);
/* oklch */ color: oklch(48.8% 0.146 281.0);
Tailwind
colors: {
  custom: {
    50: '#8b82c7',
    500: '#5451af',
    950: '#000000',
  },
}
SCSS
$custom: #5451af;
$custom-light: #8b82c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5451af",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 175
  },
  "hsl": {
    "h": 241.915,
    "s": 37.008,
    "l": 50.196
  },
  "oklch": {
    "l": 0.48819,
    "c": 0.14555,
    "h": 281
  },
  "luminance": 0.10865
}

Semantic roles & 50–950 ramp

primary
#5451AF
secondary
#C2C399
accent
#CD5BC9
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #5451AF

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

Preview Lab → · Contrast checker → · Palette generator →

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