#515BC0#515BC0

#515BC0 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.7% C 0.156 H 275.3°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#515BC0
RGBrgb(81, 91, 192)
HSLhsl(235, 47%, 54%)
HSVhsv(235, 58%, 75%)
CMYKcmyk(57.8%, 52.6%, 0%, 24.7%)
CIE-LABlab(42.82, 26.22, -54.42)
CIE-LCHlch(42.82, 60.40, 295.73°)
OKLaboklab(51.72% 0.0143 -0.1558)
OKLCHoklch(51.72% 0.156 275.3)
XYZxyz(16.6458, 13.0361, 51.4980)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515BC0 #C0B651
analogous
#5192C0 #515BC0 #7E51C0
triadic
#515BC0 #C0515B #5BC051
tetradic
#515BC0 #C05192 #C0B651 #51C07E
square
#515BC0 #C05192 #C0B651 #51C07E
split-complementary
#515BC0 #C07E51 #92C051
monochromatic
#282E6F #38419B #515BC0 #7E85D0 #ABB0E1

Accessibility & contrast

On white

5.82
#515BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#515BC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515BC0
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515BC0#FFFFFF#000000##FFFFFF
##515BC01.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#206AC4
Deuteranopia (green-blind)
#0061BE
Tritanopia (blue-blind)
#037285
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #515bc0;
/* rgb */ color: rgb(81, 91, 192);
/* oklch */ color: oklch(51.7% 0.156 275.3);
Tailwind
colors: {
  custom: {
    50: '#8b89d4',
    500: '#515bc0',
    950: '#000000',
  },
}
SCSS
$custom: #515bc0;
$custom-light: #8b89d4;
$custom-dark: #000000;
JSON
{
  "hex": "#515bc0",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 192
  },
  "hsl": {
    "h": 234.595,
    "s": 46.835,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51724,
    "c": 0.15643,
    "h": 275.3
  },
  "luminance": 0.13037
}

Semantic roles & 50–950 ramp

primary
#515BC0
secondary
#CECA9F
accent
#CA51D6
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #515BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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