#515CC2#515CC2

#515CC2 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.1% C 0.158 H 274.9°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#515CC2
RGBrgb(81, 92, 194)
HSLhsl(234, 48%, 54%)
HSVhsv(234, 58%, 76%)
CMYKcmyk(58.2%, 52.6%, 0%, 23.9%)
CIE-LABlab(43.21, 26.26, -54.95)
CIE-LCHlch(43.21, 60.90, 295.54°)
OKLaboklab(52.06% 0.0134 -0.1573)
OKLCHoklch(52.06% 0.158 274.9)
XYZxyz(16.9549, 13.2974, 52.7017)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515CC2 #C2B751
analogous
#5195C2 #515CC2 #7F51C2
triadic
#515CC2 #C2515C #5CC251
tetradic
#515CC2 #C25195 #C2B751 #51C27F
square
#515CC2 #C25195 #C2B751 #51C27F
split-complementary
#515CC2 #C27F51 #95C251
monochromatic
#282F71 #37429E #515CC2 #7E86D2 #ACB1E2

Accessibility & contrast

On white

5.74
#515CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#515CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515CC2
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515CC2#FFFFFF#000000##FFFFFF
##515CC21.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#206BC6
Deuteranopia (green-blind)
#0061C0
Tritanopia (blue-blind)
#007386
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #515cc2;
/* rgb */ color: rgb(81, 92, 194);
/* oklch */ color: oklch(52.1% 0.158 274.9);
Tailwind
colors: {
  custom: {
    50: '#8c8ad5',
    500: '#515cc2',
    950: '#000000',
  },
}
SCSS
$custom: #515cc2;
$custom-light: #8c8ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#515cc2",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 194
  },
  "hsl": {
    "h": 234.159,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5206,
    "c": 0.1579,
    "h": 274.9
  },
  "luminance": 0.13299
}

Semantic roles & 50–950 ramp

primary
#515CC2
secondary
#D0CB9F
accent
#CA50D8
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #515CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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