#515688#515688

#515688 is a mid, moderate blue. Relative luminance 0.102; OKLCH L 47.1% C 0.081 H 278.5°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#515688
RGBrgb(81, 86, 136)
HSLhsl(235, 25%, 43%)
HSVhsv(235, 40%, 53%)
CMYKcmyk(40.4%, 36.8%, 0%, 46.7%)
CIE-LABlab(38.17, 11.39, -28.53)
CIE-LCHlch(38.17, 30.72, 291.76°)
OKLaboklab(47.12% 0.0119 -0.08)
OKLCHoklch(47.12% 0.081 278.5)
XYZxyz(11.1638, 10.1820, 24.6649)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515688 #888351
analogous
#517288 #515688 #675188
triadic
#515688 #885156 #568851
tetradic
#515688 #885172 #888351 #518867
square
#515688 #885172 #888351 #518867
split-complementary
#515688 #886751 #728851
monochromatic
#23253B #3A3E62 #515688 #6E73A8 #9498BF

Accessibility & contrast

On white

6.92
#515688 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#515688 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515688
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515688#FFFFFF#000000##FFFFFF
##5156881.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455C8A
Deuteranopia (green-blind)
#425887
Tritanopia (blue-blind)
#416068
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #515688;
/* rgb */ color: rgb(81, 86, 136);
/* oklch */ color: oklch(47.1% 0.081 278.5);
Tailwind
colors: {
  custom: {
    50: '#8485ab',
    500: '#515688',
    950: '#000000',
  },
}
SCSS
$custom: #515688;
$custom-light: #8485ab;
$custom-dark: #000000;
JSON
{
  "hex": "#515688",
  "rgb": {
    "r": 81,
    "g": 86,
    "b": 136
  },
  "hsl": {
    "h": 234.545,
    "s": 25.346,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47122,
    "c": 0.08086,
    "h": 278.5
  },
  "luminance": 0.10182
}

Semantic roles & 50–950 ramp

primary
#515688
secondary
#ACA989
accent
#B966C2
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #515688

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

Preview Lab → · Contrast checker → · Palette generator →

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