#515EE2#515EE2

#515EE2 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.8% C 0.198 H 273.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#515EE2
RGBrgb(81, 94, 226)
HSLhsl(235, 71%, 60%)
HSVhsv(235, 64%, 89%)
CMYKcmyk(64.2%, 58.4%, 0%, 11.4%)
CIE-LABlab(45.97, 35.74, -68.82)
CIE-LCHlch(45.97, 77.55, 297.45°)
OKLaboklab(54.83% 0.0125 -0.1981)
OKLCHoklch(54.83% 0.198 273.6)
XYZxyz(21.1190, 15.2439, 73.7662)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515EE2 #E2D551
analogous
#51A6E2 #515EE2 #8D51E2
triadic
#515EE2 #E2515E #5EE251
tetradic
#515EE2 #E251A6 #E2D551 #51E28D
square
#515EE2 #E251A6 #E2D551 #51E28D
split-complementary
#515EE2 #E28D51 #A6E251
monochromatic
#1A269E #2333D3 #515EE2 #858FEB #BABFF3

Accessibility & contrast

On white

5.19
#515EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#515EE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515EE2
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515EE2#FFFFFF#000000##FFFFFF
##515EE21.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E6
Deuteranopia (green-blind)
#0067DF
Tritanopia (blue-blind)
#007E97
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #515ee2;
/* rgb */ color: rgb(81, 94, 226);
/* oklch */ color: oklch(54.8% 0.198 273.6);
Tailwind
colors: {
  custom: {
    50: '#918bec',
    500: '#515ee2',
    950: '#000000',
  },
}
SCSS
$custom: #515ee2;
$custom-light: #918bec;
$custom-dark: #000000;
JSON
{
  "hex": "#515ee2",
  "rgb": {
    "r": 81,
    "g": 94,
    "b": 226
  },
  "hsl": {
    "h": 234.621,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.54834,
    "c": 0.19849,
    "h": 273.6
  },
  "luminance": 0.15246
}

Semantic roles & 50–950 ramp

primary
#515EE2
secondary
#E3DEAC
accent
#C212D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #515EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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