#515EB5#515EB5

#515EB5 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.6% C 0.137 H 274.2°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#515EB5
RGBrgb(81, 94, 181)
HSLhsl(232, 40%, 51%)
HSVhsv(232, 55%, 71%)
CMYKcmyk(55.2%, 48.1%, 0%, 29%)
CIE-LABlab(42.90, 20.67, -47.87)
CIE-LCHlch(42.90, 52.14, 293.35°)
OKLaboklab(51.56% 0.01 -0.1365)
OKLCHoklch(51.56% 0.137 274.2)
XYZxyz(15.7338, 13.0898, 45.4046)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515EB5 #B5A851
analogous
#5190B5 #515EB5 #7651B5
triadic
#515EB5 #B5515E #5EB551
tetradic
#515EB5 #B55190 #B5A851 #51B576
square
#515EB5 #B55190 #B5A851 #51B576
split-complementary
#515EB5 #B57651 #90B551
monochromatic
#2A3162 #3C468D #515EB5 #7C86C7 #A7ADDA

Accessibility & contrast

On white

5.80
#515EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#515EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515EB5
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515EB5#FFFFFF#000000##FFFFFF
##515EB51.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356AB8
Deuteranopia (green-blind)
#2861B3
Tritanopia (blue-blind)
#1D7181
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #515eb5;
/* rgb */ color: rgb(81, 94, 181);
/* oklch */ color: oklch(51.6% 0.137 274.2);
Tailwind
colors: {
  custom: {
    50: '#898bcc',
    500: '#515eb5',
    950: '#000000',
  },
}
SCSS
$custom: #515eb5;
$custom-light: #898bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#515eb5",
  "rgb": {
    "r": 81,
    "g": 94,
    "b": 181
  },
  "hsl": {
    "h": 232.2,
    "s": 40.323,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51558,
    "c": 0.13687,
    "h": 274.2
  },
  "luminance": 0.13091
}

Semantic roles & 50–950 ramp

primary
#515EB5
secondary
#C7C19B
accent
#C158D0
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #515EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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