#515175#515175

#515175 is a mid, muted blue. Relative luminance 0.089; OKLCH L 45.0% C 0.059 H 283.8°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#515175
RGBrgb(81, 81, 117)
HSLhsl(240, 18%, 39%)
HSVhsv(240, 31%, 46%)
CMYKcmyk(30.8%, 30.8%, 0%, 54.1%)
CIE-LABlab(35.83, 9.02, -20.50)
CIE-LCHlch(35.83, 22.40, 293.76°)
OKLaboklab(45.02% 0.014 -0.0568)
OKLCHoklch(45.02% 0.059 283.8)
XYZxyz(9.5458, 8.9183, 18.0446)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515175 #757551
analogous
#516375 #515175 #635175
triadic
#515175 #755151 #517551
tetradic
#515175 #755163 #757551 #517563
square
#515175 #755163 #757551 #517563
split-complementary
#515175 #756351 #637551
monochromatic
#1F1F2D #383851 #515175 #6B6B98 #8F8FB1

Accessibility & contrast

On white

7.54
#515175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#515175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515175
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515175#FFFFFF#000000##FFFFFF
##5151751.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475577
Deuteranopia (green-blind)
#465374
Tritanopia (blue-blind)
#48575E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #515175;
/* rgb */ color: rgb(81, 81, 117);
/* oklch */ color: oklch(45.0% 0.059 283.8);
Tailwind
colors: {
  custom: {
    50: '#83819d',
    500: '#515175',
    950: '#000000',
  },
}
SCSS
$custom: #515175;
$custom-light: #83819d;
$custom-dark: #000000;
JSON
{
  "hex": "#515175",
  "rgb": {
    "r": 81,
    "g": 81,
    "b": 117
  },
  "hsl": {
    "h": 240,
    "s": 18.182,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45018,
    "c": 0.05853,
    "h": 283.8
  },
  "luminance": 0.08919
}

Semantic roles & 50–950 ramp

primary
#515175
secondary
#9F9F83
accent
#BB6DBB
background
#F8F7F9
surface
#EFEEF2
border
#CAC9CC
text
#0A0A0E
muted
#7C7C7E

Preview Lab

Preview with #515175

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

Preview Lab → · Contrast checker → · Palette generator →

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