#515AE7#515AE7

#515AE7 is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 54.5% C 0.210 H 274.3°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#515AE7
RGBrgb(81, 90, 231)
HSLhsl(236, 76%, 61%)
HSVhsv(236, 65%, 91%)
CMYKcmyk(64.9%, 61%, 0%, 9.4%)
CIE-LABlab(45.40, 39.85, -72.57)
CIE-LCHlch(45.40, 82.79, 298.77°)
OKLaboklab(54.53% 0.0156 -0.2092)
OKLCHoklch(54.53% 0.21 274.3)
XYZxyz(21.4685, 14.8293, 77.3168)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515AE7 #E7DE51
analogous
#51A5E7 #515AE7 #9351E7
triadic
#515AE7 #E7515A #5AE751
tetradic
#515AE7 #E751A5 #E7DE51 #51E793
square
#515AE7 #E751A5 #E7DE51 #51E793
split-complementary
#515AE7 #E79351 #A5E751
monochromatic
#1720A7 #1E2ADC #515AE7 #878DEE #BDC0F6

Accessibility & contrast

On white

5.29
#515AE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#515AE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515AE7
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515AE7#FFFFFF#000000##FFFFFF
##515AE71.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EC
Deuteranopia (green-blind)
#0065E4
Tritanopia (blue-blind)
#007D98
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #515ae7;
/* rgb */ color: rgb(81, 90, 231);
/* oklch */ color: oklch(54.5% 0.210 274.3);
Tailwind
colors: {
  custom: {
    50: '#9289f0',
    500: '#515ae7',
    950: '#000000',
  },
}
SCSS
$custom: #515ae7;
$custom-light: #9289f0;
$custom-dark: #000000;
JSON
{
  "hex": "#515ae7",
  "rgb": {
    "r": 81,
    "g": 90,
    "b": 231
  },
  "hsl": {
    "h": 236.4,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.54534,
    "c": 0.20974,
    "h": 274.3
  },
  "luminance": 0.14831
}

Semantic roles & 50–950 ramp

primary
#515AE7
secondary
#E6E3AE
accent
#CC0ED8
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #515AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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