#515CD5#515CD5

#515CD5 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.5% C 0.184 H 274.4°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#515CD5
RGBrgb(81, 92, 213)
HSLhsl(235, 61%, 58%)
HSVhsv(235, 62%, 84%)
CMYKcmyk(62%, 56.8%, 0%, 16.5%)
CIE-LABlab(44.53, 32.62, -63.76)
CIE-LCHlch(44.53, 71.62, 297.10°)
OKLaboklab(53.47% 0.0142 -0.1832)
OKLCHoklch(53.47% 0.184 274.4)
XYZxyz(19.2268, 14.2061, 64.6667)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515CD5 #D5CA51
analogous
#519ED5 #515CD5 #8851D5
triadic
#515CD5 #D5515C #5CD551
tetradic
#515CD5 #D5519E #D5CA51 #51D588
square
#515CD5 #D5519E #D5CA51 #51D588
split-complementary
#515CD5 #D58851 #9ED551
monochromatic
#212A8A #2D39BC #515CD5 #828AE1 #B4B8ED

Accessibility & contrast

On white

5.47
#515CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#515CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515CD5
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515CD5#FFFFFF#000000##FFFFFF
##515CD51.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD9
Deuteranopia (green-blind)
#0064D3
Tritanopia (blue-blind)
#00798F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #515cd5;
/* rgb */ color: rgb(81, 92, 213);
/* oklch */ color: oklch(53.5% 0.184 274.4);
Tailwind
colors: {
  custom: {
    50: '#8f8ae3',
    500: '#515cd5',
    950: '#000000',
  },
}
SCSS
$custom: #515cd5;
$custom-light: #8f8ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#515cd5",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 213
  },
  "hsl": {
    "h": 235,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.53465,
    "c": 0.18379,
    "h": 274.4
  },
  "luminance": 0.14208
}

Semantic roles & 50–950 ramp

primary
#515CD5
secondary
#DBD7A6
accent
#D744E4
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B15
muted
#7E7C84

Preview Lab

Preview with #515CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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