#515AE0#515AE0

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

Color values

HEX#515AE0
RGBrgb(81, 90, 224)
HSLhsl(236, 70%, 60%)
HSVhsv(236, 64%, 88%)
CMYKcmyk(63.8%, 59.8%, 0%, 12.2%)
CIE-LABlab(44.86, 37.52, -69.48)
CIE-LCHlch(44.86, 78.97, 298.37°)
OKLaboklab(53.97% 0.0159 -0.2001)
OKLCHoklch(53.97% 0.201 274.5)
XYZxyz(20.4996, 14.4417, 72.2138)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515AE0 #E0D751
analogous
#51A1E0 #515AE0 #9051E0
triadic
#515AE0 #E0515A #5AE051
tetradic
#515AE0 #E051A1 #E0D751 #51E090
square
#515AE0 #E051A1 #E0D751 #51E090
split-complementary
#515AE0 #E09051 #A1E051
monochromatic
#1C249B #2530CF #515AE0 #858BE9 #B9BDF3

Accessibility & contrast

On white

5.40
#515AE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#515AE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515AE0
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515AE0#FFFFFF#000000##FFFFFF
##515AE01.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E4
Deuteranopia (green-blind)
#0064DD
Tritanopia (blue-blind)
#007B94
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #515ae0;
/* rgb */ color: rgb(81, 90, 224);
/* oklch */ color: oklch(54.0% 0.201 274.5);
Tailwind
colors: {
  custom: {
    50: '#9188eb',
    500: '#515ae0',
    950: '#000000',
  },
}
SCSS
$custom: #515ae0;
$custom-light: #9188eb;
$custom-dark: #000000;
JSON
{
  "hex": "#515ae0",
  "rgb": {
    "r": 81,
    "g": 90,
    "b": 224
  },
  "hsl": {
    "h": 236.224,
    "s": 69.756,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53968,
    "c": 0.20073,
    "h": 274.5
  },
  "luminance": 0.14443
}

Semantic roles & 50–950 ramp

primary
#515AE0
secondary
#E2DFAB
accent
#E13BED
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #515AE0

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

Preview Lab → · Contrast checker → · Palette generator →

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