#515DCE#515DCE

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

Color values

HEX#515DCE
RGBrgb(81, 93, 206)
HSLhsl(234, 56%, 56%)
HSVhsv(234, 61%, 81%)
CMYKcmyk(60.7%, 54.9%, 0%, 19.2%)
CIE-LABlab(44.28, 29.65, -60.14)
CIE-LCHlch(44.28, 67.06, 296.24°)
OKLaboklab(53.12% 0.0131 -0.1726)
OKLCHoklch(53.12% 0.173 274.3)
XYZxyz(18.4446, 14.0328, 60.1172)
Luminance0.1403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515DCE #CEC251
analogous
#519CCE #515DCE #8451CE
triadic
#515DCE #CE515D #5DCE51
tetradic
#515DCE #CE519C #CEC251 #51CE84
square
#515DCE #CE519C #CEC251 #51CE84
split-complementary
#515DCE #CE8451 #9CCE51
monochromatic
#242D80 #323EB0 #515DCE #8189DB #B1B6E9

Accessibility & contrast

On white

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

On black

3.81
#515DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##515DCE#FFFFFF#000000##FFFFFF
##515DCE1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#046ED2
Deuteranopia (green-blind)
#0063CC
Tritanopia (blue-blind)
#00788C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #515dce;
/* rgb */ color: rgb(81, 93, 206);
/* oklch */ color: oklch(53.1% 0.173 274.3);
Tailwind
colors: {
  custom: {
    50: '#8d8ade',
    500: '#515dce',
    950: '#000000',
  },
}
SCSS
$custom: #515dce;
$custom-light: #8d8ade;
$custom-dark: #000000;
JSON
{
  "hex": "#515dce",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 206
  },
  "hsl": {
    "h": 234.24,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53124,
    "c": 0.1731,
    "h": 274.3
  },
  "luminance": 0.14034
}

Semantic roles & 50–950 ramp

primary
#515DCE
secondary
#D7D2A4
accent
#D148DF
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #515DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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