#515BE2#515BE2

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

Color values

HEX#515BE2
RGBrgb(81, 91, 226)
HSLhsl(236, 71%, 60%)
HSVhsv(236, 64%, 89%)
CMYKcmyk(64.2%, 59.7%, 0%, 11.4%)
CIE-LABlab(45.25, 37.58, -69.98)
CIE-LCHlch(45.25, 79.44, 298.23°)
OKLaboklab(54.3% 0.015 -0.2016)
OKLCHoklch(54.3% 0.202 274.3)
XYZxyz(20.8574, 14.7207, 73.6790)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515BE2 #E2D851
analogous
#51A4E2 #515BE2 #8F51E2
triadic
#515BE2 #E2515B #5BE251
tetradic
#515BE2 #E251A4 #E2D851 #51E28F
square
#515BE2 #E251A4 #E2D851 #51E28F
split-complementary
#515BE2 #E28F51 #A4E251
monochromatic
#1A239E #232FD3 #515BE2 #858CEB #BABEF3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##515BE2#FFFFFF#000000##FFFFFF
##515BE21.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)
#0072E6
Deuteranopia (green-blind)
#0065DF
Tritanopia (blue-blind)
#007C96
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #515be2;
/* rgb */ color: rgb(81, 91, 226);
/* oklch */ color: oklch(54.3% 0.202 274.3);
Tailwind
colors: {
  custom: {
    50: '#9189ec',
    500: '#515be2',
    950: '#000000',
  },
}
SCSS
$custom: #515be2;
$custom-light: #9189ec;
$custom-dark: #000000;
JSON
{
  "hex": "#515be2",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 226
  },
  "hsl": {
    "h": 235.862,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.54303,
    "c": 0.20212,
    "h": 274.3
  },
  "luminance": 0.14722
}

Semantic roles & 50–950 ramp

primary
#515BE2
secondary
#E3DFAC
accent
#C612D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #515BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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