#515CD2#515CD2

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

Color values

HEX#515CD2
RGBrgb(81, 92, 210)
HSLhsl(235, 59%, 57%)
HSVhsv(235, 61%, 82%)
CMYKcmyk(61.4%, 56.2%, 0%, 17.6%)
CIE-LABlab(44.31, 31.61, -62.39)
CIE-LCHlch(44.31, 69.94, 296.87°)
OKLaboklab(53.24% 0.0141 -0.1792)
OKLCHoklch(53.24% 0.18 274.5)
XYZxyz(18.8495, 14.0552, 62.6799)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515CD2 #D2C751
analogous
#519CD2 #515CD2 #8751D2
triadic
#515CD2 #D2515C #5CD251
tetradic
#515CD2 #D2519C #D2C751 #51D287
square
#515CD2 #D2519C #D2C751 #51D287
split-complementary
#515CD2 #D28751 #9CD251
monochromatic
#232B86 #2F3BB7 #515CD2 #828ADF #B2B7EB

Accessibility & contrast

On white

5.51
#515CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #515CD2
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515CD2#FFFFFF#000000##FFFFFF
##515CD21.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD6
Deuteranopia (green-blind)
#0063D0
Tritanopia (blue-blind)
#00788E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #515cd2;
/* rgb */ color: rgb(81, 92, 210);
/* oklch */ color: oklch(53.2% 0.180 274.5);
Tailwind
colors: {
  custom: {
    50: '#8e8ae1',
    500: '#515cd2',
    950: '#000000',
  },
}
SCSS
$custom: #515cd2;
$custom-light: #8e8ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#515cd2",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 210
  },
  "hsl": {
    "h": 234.884,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53237,
    "c": 0.17978,
    "h": 274.5
  },
  "luminance": 0.14057
}

Semantic roles & 50–950 ramp

primary
#515CD2
secondary
#DAD5A5
accent
#D546E2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #515CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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