#515BB0#515BB0

#515BB0 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.6% C 0.134 H 275.5°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#515BB0
RGBrgb(81, 91, 176)
HSLhsl(234, 38%, 50%)
HSVhsv(234, 54%, 69%)
CMYKcmyk(54%, 48.3%, 0%, 31%)
CIE-LABlab(41.79, 20.91, -46.71)
CIE-LCHlch(41.79, 51.18, 294.12°)
OKLaboklab(50.62% 0.0128 -0.1331)
OKLCHoklch(50.62% 0.134 275.5)
XYZxyz(14.9684, 12.3651, 42.6638)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515BB0 #B0A651
analogous
#518AB0 #515BB0 #7651B0
triadic
#515BB0 #B0515B #5BB051
tetradic
#515BB0 #B0518A #B0A651 #51B076
square
#515BB0 #B0518A #B0A651 #51B076
split-complementary
#515BB0 #B07651 #8AB051
monochromatic
#2A2F5D #3D4587 #515BB0 #7B83C3 #A5AAD6

Accessibility & contrast

On white

6.05
#515BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#515BB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515BB0
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515BB0#FFFFFF#000000##FFFFFF
##515BB01.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3367B3
Deuteranopia (green-blind)
#285FAE
Tritanopia (blue-blind)
#246E7D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #515bb0;
/* rgb */ color: rgb(81, 91, 176);
/* oklch */ color: oklch(50.6% 0.134 275.5);
Tailwind
colors: {
  custom: {
    50: '#8989c8',
    500: '#515bb0',
    950: '#000000',
  },
}
SCSS
$custom: #515bb0;
$custom-light: #8989c8;
$custom-dark: #000000;
JSON
{
  "hex": "#515bb0",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 176
  },
  "hsl": {
    "h": 233.684,
    "s": 37.549,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50619,
    "c": 0.13374,
    "h": 275.5
  },
  "luminance": 0.12366
}

Semantic roles & 50–950 ramp

primary
#515BB0
secondary
#C4BF99
accent
#C15ACE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #515BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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