#515DCD#515DCD

#515DCD is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.0% C 0.172 H 274.4°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#515DCD
RGBrgb(81, 93, 205)
HSLhsl(234, 55%, 56%)
HSVhsv(234, 60%, 80%)
CMYKcmyk(60.5%, 54.6%, 0%, 19.6%)
CIE-LABlab(44.21, 29.31, -59.68)
CIE-LCHlch(44.21, 66.49, 296.16°)
OKLaboklab(53.05% 0.013 -0.1712)
OKLCHoklch(53.05% 0.172 274.4)
XYZxyz(18.3235, 13.9844, 59.4794)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515DCD #CDC151
analogous
#519BCD #515DCD #8351CD
triadic
#515DCD #CD515D #5DCD51
tetradic
#515DCD #CD519B #CDC151 #51CD83
square
#515DCD #CD519B #CDC151 #51CD83
split-complementary
#515DCD #CD8351 #9BCD51
monochromatic
#252D7F #323EAF #515DCD #8189DB #B0B6E8

Accessibility & contrast

On white

5.53
#515DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #515DCD
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515DCD#FFFFFF#000000##FFFFFF
##515DCD1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#096ED1
Deuteranopia (green-blind)
#0063CB
Tritanopia (blue-blind)
#00778C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #515dcd;
/* rgb */ color: rgb(81, 93, 205);
/* oklch */ color: oklch(53.0% 0.172 274.4);
Tailwind
colors: {
  custom: {
    50: '#8d8add',
    500: '#515dcd',
    950: '#000000',
  },
}
SCSS
$custom: #515dcd;
$custom-light: #8d8add;
$custom-dark: #000000;
JSON
{
  "hex": "#515dcd",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 205
  },
  "hsl": {
    "h": 234.194,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5305,
    "c": 0.17174,
    "h": 274.4
  },
  "luminance": 0.13986
}

Semantic roles & 50–950 ramp

primary
#515DCD
secondary
#D7D2A3
accent
#D049DF
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #515DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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