#515BB6#515BB6

#515BB6 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.0% C 0.142 H 275.4°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#515BB6
RGBrgb(81, 91, 182)
HSLhsl(234, 41%, 52%)
HSVhsv(234, 55%, 71%)
CMYKcmyk(55.5%, 50%, 0%, 28.6%)
CIE-LABlab(42.17, 22.90, -49.63)
CIE-LCHlch(42.17, 54.66, 294.76°)
OKLaboklab(51.03% 0.0135 -0.1417)
OKLCHoklch(51.03% 0.142 275.4)
XYZxyz(15.5752, 12.6078, 45.8597)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515BB6 #B6AC51
analogous
#518EB6 #515BB6 #7A51B6
triadic
#515BB6 #B6515B #5BB651
tetradic
#515BB6 #B6518E #B6AC51 #51B67A
square
#515BB6 #B6518E #B6AC51 #51B67A
split-complementary
#515BB6 #B67A51 #8EB651
monochromatic
#2A2F63 #3C448E #515BB6 #7C84C8 #A7ACDA

Accessibility & contrast

On white

5.96
#515BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#515BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515BB6
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515BB6#FFFFFF#000000##FFFFFF
##515BB61.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E68B9
Deuteranopia (green-blind)
#1F5FB4
Tritanopia (blue-blind)
#1C6F80
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #515bb6;
/* rgb */ color: rgb(81, 91, 182);
/* oklch */ color: oklch(51.0% 0.142 275.4);
Tailwind
colors: {
  custom: {
    50: '#8a89cc',
    500: '#515bb6',
    950: '#000000',
  },
}
SCSS
$custom: #515bb6;
$custom-light: #8a89cc;
$custom-dark: #000000;
JSON
{
  "hex": "#515bb6",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 182
  },
  "hsl": {
    "h": 234.059,
    "s": 40.891,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51025,
    "c": 0.14234,
    "h": 275.4
  },
  "luminance": 0.12609
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #515BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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