#515CC6#515CC6

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

Color values

HEX#515CC6
RGBrgb(81, 92, 198)
HSLhsl(234, 51%, 55%)
HSVhsv(234, 59%, 78%)
CMYKcmyk(59.1%, 53.5%, 0%, 22.4%)
CIE-LABlab(43.48, 27.59, -56.83)
CIE-LCHlch(43.48, 63.18, 295.90°)
OKLaboklab(52.35% 0.0137 -0.1629)
OKLCHoklch(52.35% 0.163 274.8)
XYZxyz(17.4102, 13.4795, 55.0995)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515CC6 #C6BB51
analogous
#5197C6 #515CC6 #8151C6
triadic
#515CC6 #C6515C #5CC651
tetradic
#515CC6 #C65197 #C6BB51 #51C681
square
#515CC6 #C65197 #C6BB51 #51C681
split-complementary
#515CC6 #C68151 #97C651
monochromatic
#272E76 #3640A4 #515CC6 #7F87D5 #ADB2E4

Accessibility & contrast

On white

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

On black

3.70
#515CC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##515CC6#FFFFFF#000000##FFFFFF
##515CC61.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#196CCA
Deuteranopia (green-blind)
#0062C4
Tritanopia (blue-blind)
#007588
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #515cc6;
/* rgb */ color: rgb(81, 92, 198);
/* oklch */ color: oklch(52.3% 0.163 274.8);
Tailwind
colors: {
  custom: {
    50: '#8c8ad8',
    500: '#515cc6',
    950: '#000000',
  },
}
SCSS
$custom: #515cc6;
$custom-light: #8c8ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#515cc6",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 198
  },
  "hsl": {
    "h": 234.359,
    "s": 50.649,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52348,
    "c": 0.16344,
    "h": 274.8
  },
  "luminance": 0.13481
}

Semantic roles & 50–950 ramp

primary
#515CC6
secondary
#D2CDA1
accent
#CD4EDA
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #515CC6

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

Preview Lab → · Contrast checker → · Palette generator →

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