#515474#515474

#515474 is a mid, muted blue. Relative luminance 0.094; OKLCH L 45.6% C 0.052 H 280.0°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#515474
RGBrgb(81, 84, 116)
HSLhsl(235, 18%, 39%)
HSVhsv(235, 30%, 45%)
CMYKcmyk(30.2%, 27.6%, 0%, 54.5%)
CIE-LABlab(36.65, 6.84, -18.61)
CIE-LCHlch(36.65, 19.82, 290.18°)
OKLaboklab(45.64% 0.009 -0.0514)
OKLCHoklch(45.64% 0.052 280)
XYZxyz(9.7152, 9.3507, 17.8126)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515474 #747151
analogous
#516574 #515474 #5F5174
triadic
#515474 #745154 #547451
tetradic
#515474 #745165 #747151 #51745F
square
#515474 #745165 #747151 #51745F
split-complementary
#515474 #745F51 #657451
monochromatic
#1F202C #383A50 #515474 #6B6F97 #8F92B1

Accessibility & contrast

On white

7.32
#515474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#515474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515474
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515474#FFFFFF#000000##FFFFFF
##5154741.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5875
Deuteranopia (green-blind)
#495573
Tritanopia (blue-blind)
#485A5F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #515474;
/* rgb */ color: rgb(81, 84, 116);
/* oklch */ color: oklch(45.6% 0.052 280.0);
Tailwind
colors: {
  custom: {
    50: '#83849c',
    500: '#515474',
    950: '#000000',
  },
}
SCSS
$custom: #515474;
$custom-light: #83849c;
$custom-dark: #000000;
JSON
{
  "hex": "#515474",
  "rgb": {
    "r": 81,
    "g": 84,
    "b": 116
  },
  "hsl": {
    "h": 234.857,
    "s": 17.766,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45641,
    "c": 0.05223,
    "h": 280
  },
  "luminance": 0.09351
}

Semantic roles & 50–950 ramp

primary
#515474
secondary
#9E9C83
accent
#B46DBA
background
#F8F8F9
surface
#EFEFF2
border
#CACACC
text
#0A0A0E
muted
#7C7C7E

Preview Lab

Preview with #515474

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

Preview Lab → · Contrast checker → · Palette generator →

#515474 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva