#515199#515199

#515199 is a mid, moderate blue. Relative luminance 0.099; OKLCH L 47.1% C 0.114 H 281.1°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#515199
RGBrgb(81, 81, 153)
HSLhsl(240, 31%, 46%)
HSVhsv(240, 47%, 60%)
CMYKcmyk(47.1%, 47.1%, 0%, 40%)
CIE-LABlab(37.72, 19.85, -39.53)
CIE-LCHlch(37.72, 44.23, 296.67°)
OKLaboklab(47.09% 0.022 -0.1121)
OKLCHoklch(47.09% 0.114 281.1)
XYZxyz(12.0838, 9.9335, 31.4115)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515199 #999951
analogous
#517599 #515199 #755199
triadic
#515199 #995151 #519951
tetradic
#515199 #995175 #999951 #519975
square
#515199 #995175 #999951 #519975
split-complementary
#515199 #997551 #759951
monochromatic
#272749 #3C3C71 #515199 #7373B5 #9B9BCA

Accessibility & contrast

On white

7.03
#515199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#515199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515199
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515199#FFFFFF#000000##FFFFFF
##5151991.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345B9C
Deuteranopia (green-blind)
#2F5697
Tritanopia (blue-blind)
#38606D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #515199;
/* rgb */ color: rgb(81, 81, 153);
/* oklch */ color: oklch(47.1% 0.114 281.1);
Tailwind
colors: {
  custom: {
    50: '#8681b7',
    500: '#515199',
    950: '#000000',
  },
}
SCSS
$custom: #515199;
$custom-light: #8681b7;
$custom-dark: #000000;
JSON
{
  "hex": "#515199",
  "rgb": {
    "r": 81,
    "g": 81,
    "b": 153
  },
  "hsl": {
    "h": 240,
    "s": 30.769,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47088,
    "c": 0.11423,
    "h": 281.1
  },
  "luminance": 0.09934
}

Semantic roles & 50–950 ramp

primary
#515199
secondary
#B7B78F
accent
#C761C7
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #515199

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

Preview Lab → · Contrast checker → · Palette generator →

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