#515AE5#515AE5

#515AE5 is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.4% C 0.207 H 274.3°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#515AE5
RGBrgb(81, 90, 229)
HSLhsl(236, 74%, 61%)
HSVhsv(236, 65%, 90%)
CMYKcmyk(64.6%, 60.7%, 0%, 10.2%)
CIE-LABlab(45.24, 39.19, -71.69)
CIE-LCHlch(45.24, 81.70, 298.66°)
OKLaboklab(54.37% 0.0157 -0.2066)
OKLCHoklch(54.37% 0.207 274.3)
XYZxyz(21.1877, 14.7170, 75.8376)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515AE5 #E5DC51
analogous
#51A4E5 #515AE5 #9251E5
triadic
#515AE5 #E5515A #5AE551
tetradic
#515AE5 #E551A4 #E5DC51 #51E592
square
#515AE5 #E551A4 #E5DC51 #51E592
split-complementary
#515AE5 #E59251 #A4E551
monochromatic
#1821A3 #202CD8 #515AE5 #868CED #BBBFF5

Accessibility & contrast

On white

5.32
#515AE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#515AE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515AE5
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515AE5#FFFFFF#000000##FFFFFF
##515AE51.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EA
Deuteranopia (green-blind)
#0065E2
Tritanopia (blue-blind)
#007D97
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #515ae5;
/* rgb */ color: rgb(81, 90, 229);
/* oklch */ color: oklch(54.4% 0.207 274.3);
Tailwind
colors: {
  custom: {
    50: '#9289ee',
    500: '#515ae5',
    950: '#000000',
  },
}
SCSS
$custom: #515ae5;
$custom-light: #9289ee;
$custom-dark: #000000;
JSON
{
  "hex": "#515ae5",
  "rgb": {
    "r": 81,
    "g": 90,
    "b": 229
  },
  "hsl": {
    "h": 236.351,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.54371,
    "c": 0.20718,
    "h": 274.3
  },
  "luminance": 0.14719
}

Semantic roles & 50–950 ramp

primary
#515AE5
secondary
#E5E2AD
accent
#CA0FD6
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #515AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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