#515AC6#515AC6

#515AC6 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.0% C 0.166 H 275.4°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#515AC6
RGBrgb(81, 90, 198)
HSLhsl(235, 51%, 55%)
HSVhsv(235, 59%, 78%)
CMYKcmyk(59.1%, 54.5%, 0%, 22.4%)
CIE-LABlab(42.97, 28.85, -57.65)
CIE-LCHlch(42.97, 64.46, 296.58°)
OKLaboklab(51.97% 0.0157 -0.1653)
OKLCHoklch(51.97% 0.166 275.4)
XYZxyz(17.2392, 13.1376, 55.0425)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515AC6 #C6BD51
analogous
#5194C6 #515AC6 #8351C6
triadic
#515AC6 #C6515A #5AC651
tetradic
#515AC6 #C65194 #C6BD51 #51C683
square
#515AC6 #C65194 #C6BD51 #51C683
split-complementary
#515AC6 #C68351 #94C651
monochromatic
#272D76 #363EA4 #515AC6 #7F86D5 #ADB1E4

Accessibility & contrast

On white

5.79
#515AC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#515AC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515AC6
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515AC6#FFFFFF#000000##FFFFFF
##515AC61.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E6BCA
Deuteranopia (green-blind)
#0061C4
Tritanopia (blue-blind)
#007387
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #515ac6;
/* rgb */ color: rgb(81, 90, 198);
/* oklch */ color: oklch(52.0% 0.166 275.4);
Tailwind
colors: {
  custom: {
    50: '#8c88d8',
    500: '#515ac6',
    950: '#000000',
  },
}
SCSS
$custom: #515ac6;
$custom-light: #8c88d8;
$custom-dark: #000000;
JSON
{
  "hex": "#515ac6",
  "rgb": {
    "r": 81,
    "g": 90,
    "b": 198
  },
  "hsl": {
    "h": 235.385,
    "s": 50.649,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51968,
    "c": 0.16604,
    "h": 275.4
  },
  "luminance": 0.13139
}

Semantic roles & 50–950 ramp

primary
#515AC6
secondary
#D2CEA1
accent
#CF4EDA
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #515AC6

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

Preview Lab → · Contrast checker → · Palette generator →

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