#515BB1#515BB1

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

Color values

HEX#515BB1
RGBrgb(81, 91, 177)
HSLhsl(234, 38%, 51%)
HSVhsv(234, 54%, 69%)
CMYKcmyk(54.2%, 48.6%, 0%, 30.6%)
CIE-LABlab(41.85, 21.24, -47.20)
CIE-LCHlch(41.85, 51.76, 294.23°)
OKLaboklab(50.69% 0.0129 -0.1346)
OKLCHoklch(50.69% 0.135 275.5)
XYZxyz(15.0677, 12.4048, 43.1868)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515BB1 #B1A751
analogous
#518BB1 #515BB1 #7751B1
triadic
#515BB1 #B1515B #5BB151
tetradic
#515BB1 #B1518B #B1A751 #51B177
square
#515BB1 #B1518B #B1A751 #51B177
split-complementary
#515BB1 #B17751 #8BB151
monochromatic
#2A2F5E #3D4588 #515BB1 #7B83C4 #A6ABD7

Accessibility & contrast

On white

6.03
#515BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#515BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515BB1
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515BB1#FFFFFF#000000##FFFFFF
##515BB11.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3367B4
Deuteranopia (green-blind)
#275FAF
Tritanopia (blue-blind)
#236E7D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #515bb1;
/* rgb */ color: rgb(81, 91, 177);
/* oklch */ color: oklch(50.7% 0.135 275.5);
Tailwind
colors: {
  custom: {
    50: '#8989c9',
    500: '#515bb1',
    950: '#000000',
  },
}
SCSS
$custom: #515bb1;
$custom-light: #8989c9;
$custom-dark: #000000;
JSON
{
  "hex": "#515bb1",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 177
  },
  "hsl": {
    "h": 233.75,
    "s": 38.095,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50686,
    "c": 0.13518,
    "h": 275.5
  },
  "luminance": 0.12406
}

Semantic roles & 50–950 ramp

primary
#515BB1
secondary
#C4C09A
accent
#C25ACE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #515BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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