#515293#515293

#515293 is a mid, moderate blue. Relative luminance 0.099; OKLCH L 46.9% C 0.104 H 281.0°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#515293
RGBrgb(81, 82, 147)
HSLhsl(239, 29%, 45%)
HSVhsv(239, 45%, 58%)
CMYKcmyk(44.9%, 44.2%, 0%, 42.4%)
CIE-LABlab(37.64, 17.33, -36.03)
CIE-LCHlch(37.64, 39.98, 295.68°)
OKLaboklab(46.92% 0.0197 -0.1019)
OKLCHoklch(46.92% 0.104 281)
XYZxyz(11.6755, 9.8900, 28.8919)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515293 #939251
analogous
#517393 #515293 #715193
triadic
#515293 #935152 #529351
tetradic
#515293 #935173 #939251 #519371
square
#515293 #935173 #939251 #519371
split-complementary
#515293 #937151 #739351
monochromatic
#262644 #3B3C6C #515293 #7172B1 #9899C6

Accessibility & contrast

On white

7.05
#515293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#515293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515293
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515293#FFFFFF#000000##FFFFFF
##5152931.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395B95
Deuteranopia (green-blind)
#365692
Tritanopia (blue-blind)
#3C5F6B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #515293;
/* rgb */ color: rgb(81, 82, 147);
/* oklch */ color: oklch(46.9% 0.104 281.0);
Tailwind
colors: {
  custom: {
    50: '#8582b3',
    500: '#515293',
    950: '#000000',
  },
}
SCSS
$custom: #515293;
$custom-light: #8582b3;
$custom-dark: #000000;
JSON
{
  "hex": "#515293",
  "rgb": {
    "r": 81,
    "g": 82,
    "b": 147
  },
  "hsl": {
    "h": 239.091,
    "s": 28.947,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46915,
    "c": 0.10375,
    "h": 281
  },
  "luminance": 0.09891
}

Semantic roles & 50–950 ramp

primary
#515293
secondary
#B3B38D
accent
#C463C5
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #515293

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

Preview Lab → · Contrast checker → · Palette generator →

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