#515EBA#515EBA

#515EBA is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.9% C 0.144 H 274.2°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#515EBA
RGBrgb(81, 94, 186)
HSLhsl(233, 43%, 52%)
HSVhsv(233, 56%, 73%)
CMYKcmyk(56.5%, 49.5%, 0%, 27.1%)
CIE-LABlab(43.21, 22.33, -50.29)
CIE-LCHlch(43.21, 55.03, 293.94°)
OKLaboklab(51.9% 0.0106 -0.1436)
OKLCHoklch(51.9% 0.144 274.2)
XYZxyz(16.2561, 13.2987, 48.1551)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515EBA #BAAD51
analogous
#5193BA #515EBA #7851BA
triadic
#515EBA #BA515E #5EBA51
tetradic
#515EBA #BA5193 #BAAD51 #51BA78
square
#515EBA #BA5193 #BAAD51 #51BA78
split-complementary
#515EBA #BA7851 #93BA51
monochromatic
#293168 #3A4593 #515EBA #7D87CB #A9AFDD

Accessibility & contrast

On white

5.74
#515EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#515EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515EBA
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515EBA#FFFFFF#000000##FFFFFF
##515EBA1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306BBD
Deuteranopia (green-blind)
#2062B8
Tritanopia (blue-blind)
#147383
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #515eba;
/* rgb */ color: rgb(81, 94, 186);
/* oklch */ color: oklch(51.9% 0.144 274.2);
Tailwind
colors: {
  custom: {
    50: '#8a8bcf',
    500: '#515eba',
    950: '#000000',
  },
}
SCSS
$custom: #515eba;
$custom-light: #8a8bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#515eba",
  "rgb": {
    "r": 81,
    "g": 94,
    "b": 186
  },
  "hsl": {
    "h": 232.571,
    "s": 43.21,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51895,
    "c": 0.144,
    "h": 274.2
  },
  "luminance": 0.133
}

Semantic roles & 50–950 ramp

primary
#515EBA
secondary
#CAC59D
accent
#C355D3
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #515EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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