#515EEA#515EEA

#515EEA is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.5% C 0.209 H 273.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#515EEA
RGBrgb(81, 94, 234)
HSLhsl(235, 78%, 62%)
HSVhsv(235, 65%, 92%)
CMYKcmyk(65.4%, 59.8%, 0%, 8.2%)
CIE-LABlab(46.57, 38.42, -72.35)
CIE-LCHlch(46.57, 81.92, 297.97°)
OKLaboklab(55.47% 0.0124 -0.2085)
OKLCHoklch(55.47% 0.209 273.4)
XYZxyz(22.2424, 15.6933, 79.6829)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515EEA #EADD51
analogous
#51ABEA #515EEA #9151EA
triadic
#515EEA #EA515E #5EEA51
tetradic
#515EEA #EA51AB #EADD51 #51EA91
square
#515EEA #EA51AB #EADD51 #51EA91
split-complementary
#515EEA #EA9151 #ABEA51
monochromatic
#1522AC #1B2CE2 #515EEA #8891F1 #BEC3F7

Accessibility & contrast

On white

5.07
#515EEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#515EEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515EEA
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515EEA#FFFFFF#000000##FFFFFF
##515EEA1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #515eea;
/* rgb */ color: rgb(81, 94, 234);
/* oklch */ color: oklch(55.5% 0.209 273.4);
Tailwind
colors: {
  custom: {
    50: '#928bf2',
    500: '#515eea',
    950: '#000000',
  },
}
SCSS
$custom: #515eea;
$custom-light: #928bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#515eea",
  "rgb": {
    "r": 81,
    "g": 94,
    "b": 234
  },
  "hsl": {
    "h": 234.902,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.55469,
    "c": 0.20886,
    "h": 273.4
  },
  "luminance": 0.15695
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #515EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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