#51599D#51599D

#51599D is a mid, moderate blue. Relative luminance 0.113; OKLCH L 49.0% C 0.109 H 276.5°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#51599D
RGBrgb(81, 89, 157)
HSLhsl(234, 32%, 47%)
HSVhsv(234, 48%, 62%)
CMYKcmyk(48.4%, 43.3%, 0%, 38.4%)
CIE-LABlab(40.13, 16.02, -38.10)
CIE-LCHlch(40.13, 41.33, 292.80°)
OKLaboklab(48.99% 0.0124 -0.1079)
OKLCHoklch(48.99% 0.109 276.5)
XYZxyz(13.0496, 11.3277, 33.3906)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51599D #9D9551
analogous
#517F9D #51599D #6F519D
triadic
#51599D #9D5159 #599D51
tetradic
#51599D #9D517F #9D9551 #519D6F
square
#51599D #9D517F #9D9551 #519D6F
split-complementary
#51599D #9D6F51 #7F9D51
monochromatic
#272B4C #3C4275 #51599D #747BB7 #9CA1CC

Accessibility & contrast

On white

6.43
#51599D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#51599D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51599D
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51599D#FFFFFF#000000##FFFFFF
##51599D1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E62A0
Deuteranopia (green-blind)
#385C9B
Tritanopia (blue-blind)
#356773
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #51599d;
/* rgb */ color: rgb(81, 89, 157);
/* oklch */ color: oklch(49.0% 0.109 276.5);
Tailwind
colors: {
  custom: {
    50: '#8687ba',
    500: '#51599d',
    950: '#000000',
  },
}
SCSS
$custom: #51599d;
$custom-light: #8687ba;
$custom-dark: #000000;
JSON
{
  "hex": "#51599d",
  "rgb": {
    "r": 81,
    "g": 89,
    "b": 157
  },
  "hsl": {
    "h": 233.684,
    "s": 31.933,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48991,
    "c": 0.10859,
    "h": 276.5
  },
  "luminance": 0.11328
}

Semantic roles & 50–950 ramp

primary
#51599D
secondary
#B9B591
accent
#BD60C8
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #51599D

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

Preview Lab → · Contrast checker → · Palette generator →

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