#515AB0#515AB0

#515AB0 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.4% C 0.135 H 275.9°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#515AB0
RGBrgb(81, 90, 176)
HSLhsl(234, 38%, 50%)
HSVhsv(234, 54%, 69%)
CMYKcmyk(54%, 48.9%, 0%, 31%)
CIE-LABlab(41.52, 21.55, -47.14)
CIE-LCHlch(41.52, 51.83, 294.57°)
OKLaboklab(50.42% 0.014 -0.1344)
OKLCHoklch(50.42% 0.135 275.9)
XYZxyz(14.8835, 12.1953, 42.6355)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515AB0 #B0A751
analogous
#5189B0 #515AB0 #7851B0
triadic
#515AB0 #B0515A #5AB051
tetradic
#515AB0 #B05189 #B0A751 #51B078
square
#515AB0 #B05189 #B0A751 #51B078
split-complementary
#515AB0 #B07851 #89B051
monochromatic
#2A2F5D #3D4487 #515AB0 #7B82C3 #A5AAD6

Accessibility & contrast

On white

6.11
#515AB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#515AB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515AB0
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515AB0#FFFFFF#000000##FFFFFF
##515AB01.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3166B3
Deuteranopia (green-blind)
#265EAE
Tritanopia (blue-blind)
#246D7C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #515ab0;
/* rgb */ color: rgb(81, 90, 176);
/* oklch */ color: oklch(50.4% 0.135 275.9);
Tailwind
colors: {
  custom: {
    50: '#8988c8',
    500: '#515ab0',
    950: '#000000',
  },
}
SCSS
$custom: #515ab0;
$custom-light: #8988c8;
$custom-dark: #000000;
JSON
{
  "hex": "#515ab0",
  "rgb": {
    "r": 81,
    "g": 90,
    "b": 176
  },
  "hsl": {
    "h": 234.316,
    "s": 37.549,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50418,
    "c": 0.1351,
    "h": 275.9
  },
  "luminance": 0.12196
}

Semantic roles & 50–950 ramp

primary
#515AB0
secondary
#C4C099
accent
#C35ACE
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #515AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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