#515DEA#515DEA

#515DEA is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 55.3% C 0.210 H 273.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#515DEA
RGBrgb(81, 93, 234)
HSLhsl(235, 78%, 62%)
HSVhsv(235, 65%, 92%)
CMYKcmyk(65.4%, 60.3%, 0%, 8.2%)
CIE-LABlab(46.33, 39.03, -72.74)
CIE-LCHlch(46.33, 82.55, 298.22°)
OKLaboklab(55.3% 0.0132 -0.2096)
OKLCHoklch(55.3% 0.21 273.6)
XYZxyz(22.1540, 15.5166, 79.6534)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515DEA #EADE51
analogous
#51AAEA #515DEA #9251EA
triadic
#515DEA #EA515D #5DEA51
tetradic
#515DEA #EA51AA #EADE51 #51EA92
square
#515DEA #EA51AA #EADE51 #51EA92
split-complementary
#515DEA #EA9251 #AAEA51
monochromatic
#1521AC #1B2BE2 #515DEA #8890F1 #BEC3F7

Accessibility & contrast

On white

5.12
#515DEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#515DEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515DEA
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515DEA#FFFFFF#000000##FFFFFF
##515DEA1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EF
Deuteranopia (green-blind)
#0067E7
Tritanopia (blue-blind)
#00809B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #515dea;
/* rgb */ color: rgb(81, 93, 234);
/* oklch */ color: oklch(55.3% 0.210 273.6);
Tailwind
colors: {
  custom: {
    50: '#928bf2',
    500: '#515dea',
    950: '#000000',
  },
}
SCSS
$custom: #515dea;
$custom-light: #928bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#515dea",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 234
  },
  "hsl": {
    "h": 235.294,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.55295,
    "c": 0.21004,
    "h": 273.6
  },
  "luminance": 0.15519
}

Semantic roles & 50–950 ramp

primary
#515DEA
secondary
#E8E3AF
accent
#CA0BDB
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #515DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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