#515AE1#515AE1

#515AE1 is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.0% C 0.202 H 274.5°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#515AE1
RGBrgb(81, 90, 225)
HSLhsl(236, 71%, 60%)
HSVhsv(236, 64%, 88%)
CMYKcmyk(64%, 60%, 0%, 11.8%)
CIE-LABlab(44.94, 37.86, -69.93)
CIE-LCHlch(44.94, 79.52, 298.43°)
OKLaboklab(54.05% 0.0158 -0.2014)
OKLCHoklch(54.05% 0.202 274.5)
XYZxyz(20.6356, 14.4961, 72.9301)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515AE1 #E1D851
analogous
#51A2E1 #515AE1 #9051E1
triadic
#515AE1 #E1515A #5AE151
tetradic
#515AE1 #E151A2 #E1D851 #51E190
square
#515AE1 #E151A2 #E1D851 #51E190
split-complementary
#515AE1 #E19051 #A2E151
monochromatic
#1B239D #242FD1 #515AE1 #858CEA #B9BDF3

Accessibility & contrast

On white

5.39
#515AE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#515AE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515AE1
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515AE1#FFFFFF#000000##FFFFFF
##515AE11.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E5
Deuteranopia (green-blind)
#0064DE
Tritanopia (blue-blind)
#007C95
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #515ae1;
/* rgb */ color: rgb(81, 90, 225);
/* oklch */ color: oklch(54.0% 0.202 274.5);
Tailwind
colors: {
  custom: {
    50: '#9188eb',
    500: '#515ae1',
    950: '#000000',
  },
}
SCSS
$custom: #515ae1;
$custom-light: #9188eb;
$custom-dark: #000000;
JSON
{
  "hex": "#515ae1",
  "rgb": {
    "r": 81,
    "g": 90,
    "b": 225
  },
  "hsl": {
    "h": 236.25,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.54048,
    "c": 0.20202,
    "h": 274.5
  },
  "luminance": 0.14498
}

Semantic roles & 50–950 ramp

primary
#515AE1
secondary
#E3DFAB
accent
#E23AED
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #515AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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