#515BBB#515BBB

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

Color values

HEX#515BBB
RGBrgb(81, 91, 187)
HSLhsl(234, 44%, 53%)
HSVhsv(234, 57%, 73%)
CMYKcmyk(56.7%, 51.3%, 0%, 26.7%)
CIE-LABlab(42.49, 24.55, -52.04)
CIE-LCHlch(42.49, 57.54, 295.26°)
OKLaboklab(51.37% 0.014 -0.1488)
OKLCHoklch(51.37% 0.149 275.4)
XYZxyz(16.1012, 12.8182, 48.6298)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515BBB #BBB151
analogous
#5190BB #515BBB #7C51BB
triadic
#515BBB #BB515B #5BBB51
tetradic
#515BBB #BB5190 #BBB151 #51BB7C
square
#515BBB #BB5190 #BBB151 #51BB7C
split-complementary
#515BBB #BB7C51 #90BB51
monochromatic
#292F69 #3A4395 #515BBB #7D84CC #A9AEDD

Accessibility & contrast

On white

5.89
#515BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #515BBB
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515BBB#FFFFFF#000000##FFFFFF
##515BBB1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2869BE
Deuteranopia (green-blind)
#1460B9
Tritanopia (blue-blind)
#137182
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #515bbb;
/* rgb */ color: rgb(81, 91, 187);
/* oklch */ color: oklch(51.4% 0.149 275.4);
Tailwind
colors: {
  custom: {
    50: '#8a89d0',
    500: '#515bbb',
    950: '#000000',
  },
}
SCSS
$custom: #515bbb;
$custom-light: #8a89d0;
$custom-dark: #000000;
JSON
{
  "hex": "#515bbb",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 187
  },
  "hsl": {
    "h": 234.34,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5137,
    "c": 0.14942,
    "h": 275.4
  },
  "luminance": 0.12819
}

Semantic roles & 50–950 ramp

primary
#515BBB
secondary
#CBC79D
accent
#C854D4
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0D0B14
muted
#7D7C82

Preview Lab

Preview with #515BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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