#515CD1#515CD1

#515CD1 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.2% C 0.178 H 274.5°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#515CD1
RGBrgb(81, 92, 209)
HSLhsl(235, 58%, 57%)
HSVhsv(235, 61%, 82%)
CMYKcmyk(61.2%, 56%, 0%, 18%)
CIE-LABlab(44.24, 31.28, -61.93)
CIE-LCHlch(44.24, 69.38, 296.80°)
OKLaboklab(53.16% 0.0141 -0.1779)
OKLCHoklch(53.16% 0.178 274.5)
XYZxyz(18.7253, 14.0056, 62.0258)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515CD1 #D1C651
analogous
#519CD1 #515CD1 #8651D1
triadic
#515CD1 #D1515C #5CD151
tetradic
#515CD1 #D1519C #D1C651 #51D186
square
#515CD1 #D1519C #D1C651 #51D186
split-complementary
#515CD1 #D18651 #9CD151
monochromatic
#232B85 #303BB5 #515CD1 #8189DE #B2B7EB

Accessibility & contrast

On white

5.52
#515CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#515CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515CD1
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515CD1#FFFFFF#000000##FFFFFF
##515CD11.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED5
Deuteranopia (green-blind)
#0063CF
Tritanopia (blue-blind)
#00788D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #515cd1;
/* rgb */ color: rgb(81, 92, 209);
/* oklch */ color: oklch(53.2% 0.178 274.5);
Tailwind
colors: {
  custom: {
    50: '#8e8ae0',
    500: '#515cd1',
    950: '#000000',
  },
}
SCSS
$custom: #515cd1;
$custom-light: #8e8ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#515cd1",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 209
  },
  "hsl": {
    "h": 234.844,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53161,
    "c": 0.17843,
    "h": 274.5
  },
  "luminance": 0.14007
}

Semantic roles & 50–950 ramp

primary
#515CD1
secondary
#D9D5A5
accent
#D446E1
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #515CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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