#515CEA#515CEA

#515CEA is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.1% C 0.211 H 273.8°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#515CEA
RGBrgb(81, 92, 234)
HSLhsl(236, 78%, 62%)
HSVhsv(236, 65%, 92%)
CMYKcmyk(65.4%, 60.7%, 0%, 8.2%)
CIE-LABlab(46.10, 39.64, -73.12)
CIE-LCHlch(46.10, 83.17, 298.46°)
OKLaboklab(55.12% 0.014 -0.2108)
OKLCHoklch(55.12% 0.211 273.8)
XYZxyz(22.0668, 15.3422, 79.6244)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515CEA #EADF51
analogous
#51A9EA #515CEA #9351EA
triadic
#515CEA #EA515C #5CEA51
tetradic
#515CEA #EA51A9 #EADF51 #51EA93
square
#515CEA #EA51A9 #EADF51 #51EA93
split-complementary
#515CEA #EA9351 #A9EA51
monochromatic
#1520AC #1B2AE2 #515CEA #888FF1 #BEC2F7

Accessibility & contrast

On white

5.16
#515CEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#515CEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515CEA
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515CEA#FFFFFF#000000##FFFFFF
##515CEA1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EF
Deuteranopia (green-blind)
#0066E7
Tritanopia (blue-blind)
#00809A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #515cea;
/* rgb */ color: rgb(81, 92, 234);
/* oklch */ color: oklch(55.1% 0.211 273.8);
Tailwind
colors: {
  custom: {
    50: '#928af2',
    500: '#515cea',
    950: '#000000',
  },
}
SCSS
$custom: #515cea;
$custom-light: #928af2;
$custom-dark: #000000;
JSON
{
  "hex": "#515cea",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 234
  },
  "hsl": {
    "h": 235.686,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.55122,
    "c": 0.21122,
    "h": 273.8
  },
  "luminance": 0.15344
}

Semantic roles & 50–950 ramp

primary
#515CEA
secondary
#E8E4AF
accent
#CC0BDB
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #515CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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