#515488#515488

#515488 is a mid, moderate blue. Relative luminance 0.099; OKLCH L 46.7% C 0.084 H 280.1°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#515488
RGBrgb(81, 84, 136)
HSLhsl(237, 25%, 43%)
HSVhsv(237, 40%, 53%)
CMYKcmyk(40.4%, 38.2%, 0%, 46.7%)
CIE-LABlab(37.60, 12.66, -29.41)
CIE-LCHlch(37.60, 32.02, 293.29°)
OKLaboklab(46.69% 0.0147 -0.0826)
OKLCHoklch(46.69% 0.084 280.1)
XYZxyz(11.0063, 9.8671, 24.6124)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515488 #888551
analogous
#517088 #515488 #695188
triadic
#515488 #885154 #548851
tetradic
#515488 #885170 #888551 #518869
square
#515488 #885170 #888551 #518869
split-complementary
#515488 #886951 #708851
monochromatic
#23253B #3A3C62 #515488 #6E71A8 #9496BF

Accessibility & contrast

On white

7.06
#515488 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#515488 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515488
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515488#FFFFFF#000000##FFFFFF
##5154881.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435B8A
Deuteranopia (green-blind)
#3F5787
Tritanopia (blue-blind)
#415E67
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #515488;
/* rgb */ color: rgb(81, 84, 136);
/* oklch */ color: oklch(46.7% 0.084 280.1);
Tailwind
colors: {
  custom: {
    50: '#8484ab',
    500: '#515488',
    950: '#000000',
  },
}
SCSS
$custom: #515488;
$custom-light: #8484ab;
$custom-dark: #000000;
JSON
{
  "hex": "#515488",
  "rgb": {
    "r": 81,
    "g": 84,
    "b": 136
  },
  "hsl": {
    "h": 236.727,
    "s": 25.346,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46689,
    "c": 0.08386,
    "h": 280.1
  },
  "luminance": 0.09868
}

Semantic roles & 50–950 ramp

primary
#515488
secondary
#ACAA89
accent
#BD66C2
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #515488

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

Preview Lab → · Contrast checker → · Palette generator →

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