#515AE2#515AE2

#515AE2 is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.1% C 0.203 H 274.5°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#515AE2
RGBrgb(81, 90, 226)
HSLhsl(236, 71%, 60%)
HSVhsv(236, 64%, 89%)
CMYKcmyk(64.2%, 60.2%, 0%, 11.4%)
CIE-LABlab(45.01, 38.19, -70.37)
CIE-LCHlch(45.01, 80.06, 298.49°)
OKLaboklab(54.13% 0.0158 -0.2027)
OKLCHoklch(54.13% 0.203 274.5)
XYZxyz(20.7724, 14.5509, 73.6507)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515AE2 #E2D951
analogous
#51A2E2 #515AE2 #9151E2
triadic
#515AE2 #E2515A #5AE251
tetradic
#515AE2 #E251A2 #E2D951 #51E291
square
#515AE2 #E251A2 #E2D951 #51E291
split-complementary
#515AE2 #E29151 #A2E251
monochromatic
#1A239E #232ED3 #515AE2 #858CEB #BABDF3

Accessibility & contrast

On white

5.37
#515AE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#515AE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515AE2
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515AE2#FFFFFF#000000##FFFFFF
##515AE21.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #515ae2;
/* rgb */ color: rgb(81, 90, 226);
/* oklch */ color: oklch(54.1% 0.203 274.5);
Tailwind
colors: {
  custom: {
    50: '#9188ec',
    500: '#515ae2',
    950: '#000000',
  },
}
SCSS
$custom: #515ae2;
$custom-light: #9188ec;
$custom-dark: #000000;
JSON
{
  "hex": "#515ae2",
  "rgb": {
    "r": 81,
    "g": 90,
    "b": 226
  },
  "hsl": {
    "h": 236.276,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.54129,
    "c": 0.20332,
    "h": 274.5
  },
  "luminance": 0.14553
}

Semantic roles & 50–950 ramp

primary
#515AE2
secondary
#E3E0AC
accent
#C712D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #515AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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