#515E99#515E99

#515E99 is a mid, moderate blue. Relative luminance 0.121; OKLCH L 49.8% C 0.096 H 273.1°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#515E99
RGBrgb(81, 94, 153)
HSLhsl(229, 31%, 46%)
HSVhsv(229, 47%, 60%)
CMYKcmyk(47.1%, 38.6%, 0%, 40%)
CIE-LABlab(41.30, 11.57, -33.85)
CIE-LCHlch(41.30, 35.77, 288.88°)
OKLaboklab(49.82% 0.0051 -0.0954)
OKLCHoklch(49.82% 0.096 273.1)
XYZxyz(13.1440, 12.0539, 31.7649)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515E99 #998C51
analogous
#518299 #515E99 #685199
triadic
#515E99 #99515E #5E9951
tetradic
#515E99 #995182 #998C51 #519968
square
#515E99 #995182 #998C51 #519968
split-complementary
#515E99 #996851 #829951
monochromatic
#272D49 #3C4571 #515E99 #737EB5 #9BA3CA

Accessibility & contrast

On white

6.16
#515E99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#515E99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515E99
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515E99#FFFFFF#000000##FFFFFF
##515E991.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48659B
Deuteranopia (green-blind)
#425F98
Tritanopia (blue-blind)
#376A74
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #515e99;
/* rgb */ color: rgb(81, 94, 153);
/* oklch */ color: oklch(49.8% 0.096 273.1);
Tailwind
colors: {
  custom: {
    50: '#868bb7',
    500: '#515e99',
    950: '#000000',
  },
}
SCSS
$custom: #515e99;
$custom-light: #868bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#515e99",
  "rgb": {
    "r": 81,
    "g": 94,
    "b": 153
  },
  "hsl": {
    "h": 229.167,
    "s": 30.769,
    "l": 45.882
  },
  "oklch": {
    "l": 0.4982,
    "c": 0.09557,
    "h": 273.1
  },
  "luminance": 0.12055
}

Semantic roles & 50–950 ramp

primary
#515E99
secondary
#B7B08F
accent
#B561C7
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0B0C11
muted
#7C7D80

Preview Lab

Preview with #515E99

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

Preview Lab → · Contrast checker → · Palette generator →

#515E99 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva