#515CD7#515CD7

#515CD7 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.6% C 0.186 H 274.4°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#515CD7
RGBrgb(81, 92, 215)
HSLhsl(235, 63%, 58%)
HSVhsv(235, 62%, 84%)
CMYKcmyk(62.3%, 57.2%, 0%, 15.7%)
CIE-LABlab(44.67, 33.29, -64.66)
CIE-LCHlch(44.67, 72.73, 297.24°)
OKLaboklab(53.62% 0.0142 -0.1859)
OKLCHoklch(53.62% 0.186 274.4)
XYZxyz(19.4822, 14.3083, 66.0119)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515CD7 #D7CC51
analogous
#519FD7 #515CD7 #8951D7
triadic
#515CD7 #D7515C #5CD751
tetradic
#515CD7 #D7519F #D7CC51 #51D789
square
#515CD7 #D7519F #D7CC51 #51D789
split-complementary
#515CD7 #D78951 #9FD751
monochromatic
#20298D #2C38BF #515CD7 #838BE2 #B5B9EE

Accessibility & contrast

On white

5.44
#515CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#515CD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515CD7
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515CD7#FFFFFF#000000##FFFFFF
##515CD71.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DB
Deuteranopia (green-blind)
#0064D5
Tritanopia (blue-blind)
#007A90
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #515cd7;
/* rgb */ color: rgb(81, 92, 215);
/* oklch */ color: oklch(53.6% 0.186 274.4);
Tailwind
colors: {
  custom: {
    50: '#8f8ae4',
    500: '#515cd7',
    950: '#000000',
  },
}
SCSS
$custom: #515cd7;
$custom-light: #8f8ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#515cd7",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 215
  },
  "hsl": {
    "h": 235.075,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.53618,
    "c": 0.18645,
    "h": 274.4
  },
  "luminance": 0.1431
}

Semantic roles & 50–950 ramp

primary
#515CD7
secondary
#DDD8A7
accent
#D842E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #515CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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