#515AA3#515AA3

#515AA3 is a mid, moderate blue. Relative luminance 0.117; OKLCH L 49.6% C 0.116 H 276.0°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#515AA3
RGBrgb(81, 90, 163)
HSLhsl(233, 34%, 48%)
HSVhsv(233, 50%, 64%)
CMYKcmyk(50.3%, 44.8%, 0%, 36.1%)
CIE-LABlab(40.74, 17.31, -40.70)
CIE-LCHlch(40.74, 44.22, 293.04°)
OKLaboklab(49.57% 0.0122 -0.1155)
OKLCHoklch(49.57% 0.116 276)
XYZxyz(13.6583, 11.7052, 36.1829)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515AA3 #A39A51
analogous
#5183A3 #515AA3 #7151A3
triadic
#515AA3 #A3515A #5AA351
tetradic
#515AA3 #A35183 #A39A51 #51A371
square
#515AA3 #A35183 #A39A51 #51A371
split-complementary
#515AA3 #A37151 #83A351
monochromatic
#282D51 #3D437A #515AA3 #767EBB #9FA4CF

Accessibility & contrast

On white

6.29
#515AA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#515AA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515AA3
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515AA3#FFFFFF#000000##FFFFFF
##515AA31.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C64A6
Deuteranopia (green-blind)
#345DA1
Tritanopia (blue-blind)
#306A76
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #515aa3;
/* rgb */ color: rgb(81, 90, 163);
/* oklch */ color: oklch(49.6% 0.116 276.0);
Tailwind
colors: {
  custom: {
    50: '#8788bf',
    500: '#515aa3',
    950: '#000000',
  },
}
SCSS
$custom: #515aa3;
$custom-light: #8788bf;
$custom-dark: #000000;
JSON
{
  "hex": "#515aa3",
  "rgb": {
    "r": 81,
    "g": 90,
    "b": 163
  },
  "hsl": {
    "h": 233.415,
    "s": 33.607,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49573,
    "c": 0.11611,
    "h": 276
  },
  "luminance": 0.11706
}

Semantic roles & 50–950 ramp

primary
#515AA3
secondary
#BCB893
accent
#BE5ECA
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #515AA3

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

Preview Lab → · Contrast checker → · Palette generator →

#515AA3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva