#515BC6#515BC6

#515BC6 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.2% C 0.165 H 275.1°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#515BC6
RGBrgb(81, 91, 198)
HSLhsl(235, 51%, 55%)
HSVhsv(235, 59%, 78%)
CMYKcmyk(59.1%, 54%, 0%, 22.4%)
CIE-LABlab(43.22, 28.22, -57.24)
CIE-LCHlch(43.22, 63.82, 296.24°)
OKLaboklab(52.16% 0.0147 -0.1641)
OKLCHoklch(52.16% 0.165 275.1)
XYZxyz(17.3242, 13.3074, 55.0708)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515BC6 #C6BC51
analogous
#5195C6 #515BC6 #8251C6
triadic
#515BC6 #C6515B #5BC651
tetradic
#515BC6 #C65195 #C6BC51 #51C682
square
#515BC6 #C65195 #C6BC51 #51C682
split-complementary
#515BC6 #C68251 #95C651
monochromatic
#272D76 #363FA4 #515BC6 #7F86D5 #ADB2E4

Accessibility & contrast

On white

5.73
#515BC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #515BC6
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515BC6#FFFFFF#000000##FFFFFF
##515BC61.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#146BCA
Deuteranopia (green-blind)
#0061C4
Tritanopia (blue-blind)
#007488
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #515bc6;
/* rgb */ color: rgb(81, 91, 198);
/* oklch */ color: oklch(52.2% 0.165 275.1);
Tailwind
colors: {
  custom: {
    50: '#8c89d8',
    500: '#515bc6',
    950: '#000000',
  },
}
SCSS
$custom: #515bc6;
$custom-light: #8c89d8;
$custom-dark: #000000;
JSON
{
  "hex": "#515bc6",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 198
  },
  "hsl": {
    "h": 234.872,
    "s": 50.649,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52157,
    "c": 0.16474,
    "h": 275.1
  },
  "luminance": 0.13309
}

Semantic roles & 50–950 ramp

primary
#515BC6
secondary
#D2CEA1
accent
#CE4EDA
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #515BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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