#515BB7#515BB7

#515BB7 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.1% C 0.144 H 275.4°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#515BB7
RGBrgb(81, 91, 183)
HSLhsl(234, 41%, 52%)
HSVhsv(234, 56%, 72%)
CMYKcmyk(55.7%, 50.3%, 0%, 28.2%)
CIE-LABlab(42.23, 23.23, -50.11)
CIE-LCHlch(42.23, 55.24, 294.87°)
OKLaboklab(51.09% 0.0136 -0.1431)
OKLCHoklch(51.09% 0.144 275.4)
XYZxyz(15.6789, 12.6493, 46.4059)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515BB7 #B7AD51
analogous
#518EB7 #515BB7 #7A51B7
triadic
#515BB7 #B7515B #5BB751
tetradic
#515BB7 #B7518E #B7AD51 #51B77A
square
#515BB7 #B7518E #B7AD51 #51B77A
split-complementary
#515BB7 #B77A51 #8EB751
monochromatic
#292F64 #3B448F #515BB7 #7C84C9 #A8ADDB

Accessibility & contrast

On white

5.95
#515BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#515BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515BB7
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515BB7#FFFFFF#000000##FFFFFF
##515BB71.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C68BA
Deuteranopia (green-blind)
#1D60B5
Tritanopia (blue-blind)
#1A7080
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #515bb7;
/* rgb */ color: rgb(81, 91, 183);
/* oklch */ color: oklch(51.1% 0.144 275.4);
Tailwind
colors: {
  custom: {
    50: '#8a89cd',
    500: '#515bb7',
    950: '#000000',
  },
}
SCSS
$custom: #515bb7;
$custom-light: #8a89cd;
$custom-dark: #000000;
JSON
{
  "hex": "#515bb7",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 183
  },
  "hsl": {
    "h": 234.118,
    "s": 41.463,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51093,
    "c": 0.14376,
    "h": 275.4
  },
  "luminance": 0.1265
}

Semantic roles & 50–950 ramp

primary
#515BB7
secondary
#C8C49C
accent
#C557D1
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #515BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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