#515BBA#515BBA

#515BBA is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.3% C 0.148 H 275.4°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#515BBA
RGBrgb(81, 91, 186)
HSLhsl(234, 43%, 52%)
HSVhsv(234, 56%, 73%)
CMYKcmyk(56.5%, 51.1%, 0%, 27.1%)
CIE-LABlab(42.42, 24.22, -51.56)
CIE-LCHlch(42.42, 56.96, 295.16°)
OKLaboklab(51.3% 0.0139 -0.1474)
OKLCHoklch(51.3% 0.148 275.4)
XYZxyz(15.9945, 12.7755, 48.0679)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515BBA #BAB051
analogous
#518FBA #515BBA #7C51BA
triadic
#515BBA #BA515B #5BBA51
tetradic
#515BBA #BA518F #BAB051 #51BA7C
square
#515BBA #BA518F #BAB051 #51BA7C
split-complementary
#515BBA #BA7C51 #8FBA51
monochromatic
#292F68 #3A4393 #515BBA #7D84CB #A9AEDD

Accessibility & contrast

On white

5.91
#515BBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#515BBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515BBA
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515BBA#FFFFFF#000000##FFFFFF
##515BBA1.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2969BD
Deuteranopia (green-blind)
#1760B8
Tritanopia (blue-blind)
#157082
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #515bba;
/* rgb */ color: rgb(81, 91, 186);
/* oklch */ color: oklch(51.3% 0.148 275.4);
Tailwind
colors: {
  custom: {
    50: '#8a89cf',
    500: '#515bba',
    950: '#000000',
  },
}
SCSS
$custom: #515bba;
$custom-light: #8a89cf;
$custom-dark: #000000;
JSON
{
  "hex": "#515bba",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 186
  },
  "hsl": {
    "h": 234.286,
    "s": 43.21,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51301,
    "c": 0.14801,
    "h": 275.4
  },
  "luminance": 0.12777
}

Semantic roles & 50–950 ramp

primary
#515BBA
secondary
#CAC69D
accent
#C755D3
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0D0B14
muted
#7D7C82

Preview Lab

Preview with #515BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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