#515DC2#515DC2

#515DC2 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.3% C 0.157 H 274.5°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#515DC2
RGBrgb(81, 93, 194)
HSLhsl(234, 48%, 54%)
HSVhsv(234, 58%, 76%)
CMYKcmyk(58.2%, 52.1%, 0%, 23.9%)
CIE-LABlab(43.47, 25.63, -54.53)
CIE-LCHlch(43.47, 60.25, 295.17°)
OKLaboklab(52.25% 0.0124 -0.1561)
OKLCHoklch(52.25% 0.157 274.5)
XYZxyz(17.0421, 13.4718, 52.7307)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515DC2 #C2B651
analogous
#5196C2 #515DC2 #7E51C2
triadic
#515DC2 #C2515D #5DC251
tetradic
#515DC2 #C25196 #C2B651 #51C27E
square
#515DC2 #C25196 #C2B651 #51C27E
split-complementary
#515DC2 #C27E51 #96C251
monochromatic
#282F71 #37429E #515DC2 #7E87D2 #ACB1E2

Accessibility & contrast

On white

5.68
#515DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#515DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515DC2
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515DC2#FFFFFF#000000##FFFFFF
##515DC21.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#246CC6
Deuteranopia (green-blind)
#0562C0
Tritanopia (blue-blind)
#007486
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #515dc2;
/* rgb */ color: rgb(81, 93, 194);
/* oklch */ color: oklch(52.3% 0.157 274.5);
Tailwind
colors: {
  custom: {
    50: '#8b8ad5',
    500: '#515dc2',
    950: '#000000',
  },
}
SCSS
$custom: #515dc2;
$custom-light: #8b8ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#515dc2",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 194
  },
  "hsl": {
    "h": 233.628,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52254,
    "c": 0.15658,
    "h": 274.5
  },
  "luminance": 0.13473
}

Semantic roles & 50–950 ramp

primary
#515DC2
secondary
#D0CA9F
accent
#C950D8
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #515DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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