#515391#515391

#515391 is a mid, moderate blue. Relative luminance 0.100; OKLCH L 47.0% C 0.099 H 280.5°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#515391
RGBrgb(81, 83, 145)
HSLhsl(238, 28%, 44%)
HSVhsv(238, 44%, 57%)
CMYKcmyk(44.1%, 42.8%, 0%, 43.1%)
CIE-LABlab(37.81, 16.06, -34.56)
CIE-LCHlch(37.81, 38.11, 294.93°)
OKLaboklab(47% 0.018 -0.0976)
OKLCHoklch(47% 0.099 280.5)
XYZxyz(11.5959, 9.9797, 28.0978)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515391 #918F51
analogous
#517391 #515391 #6F5191
triadic
#515391 #915153 #539151
tetradic
#515391 #915173 #918F51 #51916F
square
#515391 #915173 #918F51 #51916F
split-complementary
#515391 #916F51 #739151
monochromatic
#252642 #3B3D6A #515391 #7072AF #9799C5

Accessibility & contrast

On white

7.01
#515391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#515391 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515391
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515391#FFFFFF#000000##FFFFFF
##5153911.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5B93
Deuteranopia (green-blind)
#385790
Tritanopia (blue-blind)
#3D606B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #515391;
/* rgb */ color: rgb(81, 83, 145);
/* oklch */ color: oklch(47.0% 0.099 280.5);
Tailwind
colors: {
  custom: {
    50: '#8583b1',
    500: '#515391',
    950: '#000000',
  },
}
SCSS
$custom: #515391;
$custom-light: #8583b1;
$custom-dark: #000000;
JSON
{
  "hex": "#515391",
  "rgb": {
    "r": 81,
    "g": 83,
    "b": 145
  },
  "hsl": {
    "h": 238.125,
    "s": 28.319,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47001,
    "c": 0.09921,
    "h": 280.5
  },
  "luminance": 0.0998
}

Semantic roles & 50–950 ramp

primary
#515391
secondary
#B2B18C
accent
#C263C5
background
#F8F8FA
surface
#EFEFF5
border
#CACACF
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #515391

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

Preview Lab → · Contrast checker → · Palette generator →

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