#515262#515262

#515262 is a dark, muted blue. Relative luminance 0.087; OKLCH L 44.4% C 0.026 H 282.4°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#515262
RGBrgb(81, 82, 98)
HSLhsl(236, 9%, 35%)
HSVhsv(236, 17%, 38%)
CMYKcmyk(17.3%, 16.3%, 0%, 61.6%)
CIE-LABlab(35.33, 3.34, -9.40)
CIE-LCHlch(35.33, 9.97, 289.54°)
OKLaboklab(44.37% 0.0056 -0.0255)
OKLCHoklch(44.37% 0.026 282.4)
XYZxyz(8.6147, 8.6657, 12.7717)
Luminance0.0867 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515262 #626151
analogous
#515A62 #515262 #595162
triadic
#515262 #625152 #526251
tetradic
#515262 #62515A #626151 #516259
square
#515262 #62515A #626151 #516259
split-complementary
#515262 #625951 #5A6251
monochromatic
#1A1A1F #353640 #515262 #6D6E84 #8D8EA1

Accessibility & contrast

On white

7.68
#515262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#515262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515262
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515262#FFFFFF#000000##FFFFFF
##5152621.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5463
Deuteranopia (green-blind)
#4D5362
Tritanopia (blue-blind)
#4D5557
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #515262;
/* rgb */ color: rgb(81, 82, 98);
/* oklch */ color: oklch(44.4% 0.026 282.4);
Tailwind
colors: {
  custom: {
    50: '#82828e',
    500: '#515262',
    950: '#000000',
  },
}
SCSS
$custom: #515262;
$custom-light: #82828e;
$custom-dark: #000000;
JSON
{
  "hex": "#515262",
  "rgb": {
    "r": 81,
    "g": 82,
    "b": 98
  },
  "hsl": {
    "h": 236.471,
    "s": 9.497,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44374,
    "c": 0.02613,
    "h": 282.4
  },
  "luminance": 0.08666
}

Semantic roles & 50–950 ramp

primary
#515262
secondary
#8F8E7F
accent
#AF75B2
background
#F7F7F8
surface
#EEEEF0
border
#C9C9CB
text
#0A0A0C
muted
#7C7C7D

Preview Lab

Preview with #515262

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

Preview Lab → · Contrast checker → · Palette generator →

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