#51499D#51499D

#51499D is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.8% C 0.132 H 284.2°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#51499D
RGBrgb(81, 73, 157)
HSLhsl(246, 37%, 45%)
HSVhsv(246, 54%, 62%)
CMYKcmyk(48.4%, 53.5%, 0%, 38.4%)
CIE-LABlab(35.88, 26.21, -44.88)
CIE-LCHlch(35.88, 51.97, 300.29°)
OKLaboklab(45.79% 0.0324 -0.1279)
OKLCHoklch(45.79% 0.132 284.2)
XYZxyz(11.8599, 8.9482, 32.9940)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51499D #959D49
analogous
#496B9D #51499D #7B499D
triadic
#51499D #9D5149 #499D51
tetradic
#51499D #9D496B #959D49 #499D7B
square
#51499D #9D496B #959D49 #499D7B
split-complementary
#51499D #9D7B49 #6B9D49
monochromatic
#262249 #3B3673 #51499D #716ABA #9993CD

Accessibility & contrast

On white

7.53
#51499D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#51499D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51499D
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51499D#FFFFFF#000000##FFFFFF
##51499D1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F57A0
Deuteranopia (green-blind)
#1B529B
Tritanopia (blue-blind)
#375B6C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #51499d;
/* rgb */ color: rgb(81, 73, 157);
/* oklch */ color: oklch(45.8% 0.132 284.2);
Tailwind
colors: {
  custom: {
    50: '#877cba',
    500: '#51499d',
    950: '#000000',
  },
}
SCSS
$custom: #51499d;
$custom-light: #877cba;
$custom-dark: #000000;
JSON
{
  "hex": "#51499d",
  "rgb": {
    "r": 81,
    "g": 73,
    "b": 157
  },
  "hsl": {
    "h": 245.714,
    "s": 36.522,
    "l": 45.098
  },
  "oklch": {
    "l": 0.45786,
    "c": 0.13191,
    "h": 284.2
  },
  "luminance": 0.08949
}

Semantic roles & 50–950 ramp

primary
#51499D
secondary
#B4B989
accent
#CD5BC2
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #51499D

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

Preview Lab → · Contrast checker → · Palette generator →

#51499D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva