#515BA6#515BA6

#515BA6 is a mid, moderate blue. Relative luminance 0.120; OKLCH L 50.0% C 0.119 H 275.5°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#515BA6
RGBrgb(81, 91, 166)
HSLhsl(233, 34%, 48%)
HSVhsv(233, 51%, 65%)
CMYKcmyk(51.2%, 45.2%, 0%, 34.9%)
CIE-LABlab(41.19, 17.64, -41.77)
CIE-LCHlch(41.19, 45.34, 292.90°)
OKLaboklab(49.97% 0.0114 -0.1186)
OKLCHoklch(49.97% 0.119 275.5)
XYZxyz(14.0152, 11.9838, 37.6436)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515BA6 #A69C51
analogous
#5185A6 #515BA6 #7151A6
triadic
#515BA6 #A6515B #5BA651
tetradic
#515BA6 #A65185 #A69C51 #51A671
square
#515BA6 #A65185 #A69C51 #51A671
split-complementary
#515BA6 #A67151 #85A651
monochromatic
#292E54 #3D447D #515BA6 #7780BD #A1A6D1

Accessibility & contrast

On white

6.18
#515BA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#515BA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515BA6
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515BA6#FFFFFF#000000##FFFFFF
##515BA61.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C65A9
Deuteranopia (green-blind)
#335EA4
Tritanopia (blue-blind)
#2E6B78
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #515ba6;
/* rgb */ color: rgb(81, 91, 166);
/* oklch */ color: oklch(50.0% 0.119 275.5);
Tailwind
colors: {
  custom: {
    50: '#8789c1',
    500: '#515ba6',
    950: '#000000',
  },
}
SCSS
$custom: #515ba6;
$custom-light: #8789c1;
$custom-dark: #000000;
JSON
{
  "hex": "#515ba6",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 166
  },
  "hsl": {
    "h": 232.941,
    "s": 34.413,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49969,
    "c": 0.11915,
    "h": 275.5
  },
  "luminance": 0.11985
}

Semantic roles & 50–950 ramp

primary
#515BA6
secondary
#BEB995
accent
#BE5DCA
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #515BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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