#515BE7#515BE7

#515BE7 is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 54.7% C 0.209 H 274.1°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#515BE7
RGBrgb(81, 91, 231)
HSLhsl(236, 76%, 61%)
HSVhsv(236, 65%, 91%)
CMYKcmyk(64.9%, 60.6%, 0%, 9.4%)
CIE-LABlab(45.63, 39.24, -72.19)
CIE-LCHlch(45.63, 82.17, 298.53°)
OKLaboklab(54.71% 0.0149 -0.208)
OKLCHoklch(54.71% 0.209 274.1)
XYZxyz(21.5534, 14.9991, 77.3451)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515BE7 #E7DD51
analogous
#51A6E7 #515BE7 #9251E7
triadic
#515BE7 #E7515B #5BE751
tetradic
#515BE7 #E751A6 #E7DD51 #51E792
square
#515BE7 #E751A6 #E7DD51 #51E792
split-complementary
#515BE7 #E79251 #A6E751
monochromatic
#1721A7 #1E2BDC #515BE7 #878EEE #BDC0F6

Accessibility & contrast

On white

5.25
#515BE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#515BE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515BE7
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515BE7#FFFFFF#000000##FFFFFF
##515BE71.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EC
Deuteranopia (green-blind)
#0065E4
Tritanopia (blue-blind)
#007E98
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #515be7;
/* rgb */ color: rgb(81, 91, 231);
/* oklch */ color: oklch(54.7% 0.209 274.1);
Tailwind
colors: {
  custom: {
    50: '#9289f0',
    500: '#515be7',
    950: '#000000',
  },
}
SCSS
$custom: #515be7;
$custom-light: #9289f0;
$custom-dark: #000000;
JSON
{
  "hex": "#515be7",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 231
  },
  "hsl": {
    "h": 236,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.54706,
    "c": 0.20856,
    "h": 274.1
  },
  "luminance": 0.15001
}

Semantic roles & 50–950 ramp

primary
#515BE7
secondary
#E6E2AE
accent
#CA0ED8
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #515BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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