#51429F#51429F

#51429F is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.6% C 0.145 H 286.4°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#51429F
RGBrgb(81, 66, 159)
HSLhsl(250, 41%, 44%)
HSVhsv(250, 58%, 62%)
CMYKcmyk(49.1%, 58.5%, 0%, 37.6%)
CIE-LABlab(34.29, 31.23, -48.65)
CIE-LCHlch(34.29, 57.81, 302.70°)
OKLaboklab(44.65% 0.0408 -0.139)
OKLCHoklch(44.65% 0.145 286.4)
XYZxyz(11.5977, 8.1484, 33.7559)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51429F #909F42
analogous
#42629F #51429F #80429F
triadic
#51429F #9F5142 #429F51
tetradic
#51429F #9F4262 #909F42 #429F80
square
#51429F #9F4262 #909F42 #429F80
split-complementary
#51429F #9F8042 #629F42
monochromatic
#251E49 #3B3074 #51429F #7061BD #978CCF

Accessibility & contrast

On white

7.99
#51429F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#51429F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51429F
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51429F#FFFFFF#000000##FFFFFF
##51429F1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#004E9D
Tritanopia (blue-blind)
#36576A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #51429f;
/* rgb */ color: rgb(81, 66, 159);
/* oklch */ color: oklch(44.6% 0.145 286.4);
Tailwind
colors: {
  custom: {
    50: '#8877bc',
    500: '#51429f',
    950: '#000000',
  },
}
SCSS
$custom: #51429f;
$custom-light: #8877bc;
$custom-dark: #000000;
JSON
{
  "hex": "#51429f",
  "rgb": {
    "r": 81,
    "g": 66,
    "b": 159
  },
  "hsl": {
    "h": 249.677,
    "s": 41.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44646,
    "c": 0.14486,
    "h": 286.4
  },
  "luminance": 0.08149
}

Semantic roles & 50–950 ramp

primary
#51429F
secondary
#B1BA82
accent
#D157BD
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #51429F

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

Preview Lab → · Contrast checker → · Palette generator →

#51429F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva