#515AEA#515AEA

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

Color values

HEX#515AEA
RGBrgb(81, 90, 234)
HSLhsl(236, 78%, 62%)
HSVhsv(236, 65%, 92%)
CMYKcmyk(65.4%, 61.5%, 0%, 8.2%)
CIE-LABlab(45.63, 40.84, -73.88)
CIE-LCHlch(45.63, 84.42, 298.94°)
OKLaboklab(54.78% 0.0155 -0.213)
OKLCHoklch(54.78% 0.214 274.2)
XYZxyz(21.8959, 15.0002, 79.5674)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515AEA #EAE151
analogous
#51A6EA #515AEA #9551EA
triadic
#515AEA #EA515A #5AEA51
tetradic
#515AEA #EA51A6 #EAE151 #51EA95
square
#515AEA #EA51A6 #EAE151 #51EA95
split-complementary
#515AEA #EA9551 #A6EA51
monochromatic
#151EAC #1B27E2 #515AEA #888EF1 #BEC2F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##515AEA#FFFFFF#000000##FFFFFF
##515AEA1.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)
#0073EF
Deuteranopia (green-blind)
#0065E7
Tritanopia (blue-blind)
#007E9A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #515aea;
/* rgb */ color: rgb(81, 90, 234);
/* oklch */ color: oklch(54.8% 0.214 274.2);
Tailwind
colors: {
  custom: {
    50: '#9389f2',
    500: '#515aea',
    950: '#000000',
  },
}
SCSS
$custom: #515aea;
$custom-light: #9389f2;
$custom-dark: #000000;
JSON
{
  "hex": "#515aea",
  "rgb": {
    "r": 81,
    "g": 90,
    "b": 234
  },
  "hsl": {
    "h": 236.471,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.5478,
    "c": 0.21356,
    "h": 274.2
  },
  "luminance": 0.15002
}

Semantic roles & 50–950 ramp

primary
#515AEA
secondary
#E8E4AF
accent
#CE0BDB
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #515AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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