#515697#515697

#515697 is a mid, moderate blue. Relative luminance 0.106; OKLCH L 48.0% C 0.104 H 278.4°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#515697
RGBrgb(81, 86, 151)
HSLhsl(236, 30%, 45%)
HSVhsv(236, 46%, 59%)
CMYKcmyk(46.4%, 43%, 0%, 40.8%)
CIE-LABlab(38.97, 16.02, -36.35)
CIE-LCHlch(38.97, 39.72, 293.79°)
OKLaboklab(47.99% 0.0152 -0.1028)
OKLCHoklch(47.99% 0.104 278.4)
XYZxyz(12.3053, 10.6387, 30.6772)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515697 #979251
analogous
#517997 #515697 #6F5197
triadic
#515697 #975156 #569751
tetradic
#515697 #975179 #979251 #51976F
square
#515697 #975179 #979251 #51976F
split-complementary
#515697 #976F51 #799751
monochromatic
#262947 #3C3F6F #515697 #7277B3 #9A9DC9

Accessibility & contrast

On white

6.71
#515697 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#515697 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515697
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515697#FFFFFF#000000##FFFFFF
##5156971.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5F99
Deuteranopia (green-blind)
#385996
Tritanopia (blue-blind)
#39636F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #515697;
/* rgb */ color: rgb(81, 86, 151);
/* oklch */ color: oklch(48.0% 0.104 278.4);
Tailwind
colors: {
  custom: {
    50: '#8685b6',
    500: '#515697',
    950: '#000000',
  },
}
SCSS
$custom: #515697;
$custom-light: #8685b6;
$custom-dark: #000000;
JSON
{
  "hex": "#515697",
  "rgb": {
    "r": 81,
    "g": 86,
    "b": 151
  },
  "hsl": {
    "h": 235.714,
    "s": 30.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47994,
    "c": 0.10387,
    "h": 278.4
  },
  "luminance": 0.10639
}

Semantic roles & 50–950 ramp

primary
#515697
secondary
#B6B38E
accent
#BF61C6
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #515697

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

Preview Lab → · Contrast checker → · Palette generator →

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