#515290#515290

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

Color values

HEX#515290
RGBrgb(81, 82, 144)
HSLhsl(239, 28%, 44%)
HSVhsv(239, 44%, 56%)
CMYKcmyk(43.8%, 43.1%, 0%, 43.5%)
CIE-LABlab(37.48, 16.39, -34.48)
CIE-LCHlch(37.48, 38.18, 295.43°)
OKLaboklab(46.73% 0.0192 -0.0973)
OKLCHoklch(46.73% 0.099 281.1)
XYZxyz(11.4432, 9.7970, 27.6682)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515290 #908F51
analogous
#517290 #515290 #705190
triadic
#515290 #905152 #529051
tetradic
#515290 #905172 #908F51 #519070
square
#515290 #905172 #908F51 #519070
split-complementary
#515290 #907051 #729051
monochromatic
#252542 #3B3C69 #515290 #7071AE #9798C4

Accessibility & contrast

On white

7.10
#515290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#515290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515290
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515290#FFFFFF#000000##FFFFFF
##5152901.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5B92
Deuteranopia (green-blind)
#38568F
Tritanopia (blue-blind)
#3D5F6A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #515290;
/* rgb */ color: rgb(81, 82, 144);
/* oklch */ color: oklch(46.7% 0.099 281.1);
Tailwind
colors: {
  custom: {
    50: '#8582b1',
    500: '#515290',
    950: '#000000',
  },
}
SCSS
$custom: #515290;
$custom-light: #8582b1;
$custom-dark: #000000;
JSON
{
  "hex": "#515290",
  "rgb": {
    "r": 81,
    "g": 82,
    "b": 144
  },
  "hsl": {
    "h": 239.048,
    "s": 28,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46731,
    "c": 0.0992,
    "h": 281.1
  },
  "luminance": 0.09798
}

Semantic roles & 50–950 ramp

primary
#515290
secondary
#B1B18B
accent
#C363C4
background
#F8F7FA
surface
#EFEEF5
border
#CAC9CF
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #515290

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

Preview Lab → · Contrast checker → · Palette generator →

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