#515AC3#515AC3

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

Color values

HEX#515AC3
RGBrgb(81, 90, 195)
HSLhsl(235, 49%, 54%)
HSVhsv(235, 58%, 76%)
CMYKcmyk(58.5%, 53.8%, 0%, 23.5%)
CIE-LABlab(42.76, 27.85, -56.24)
CIE-LCHlch(42.76, 62.76, 296.34°)
OKLaboklab(51.75% 0.0155 -0.1612)
OKLCHoklch(51.75% 0.162 275.5)
XYZxyz(16.8966, 13.0005, 53.2381)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515AC3 #C3BA51
analogous
#5193C3 #515AC3 #8151C3
triadic
#515AC3 #C3515A #5AC351
tetradic
#515AC3 #C35193 #C3BA51 #51C381
square
#515AC3 #C35193 #C3BA51 #51C381
split-complementary
#515AC3 #C38151 #93C351
monochromatic
#272D72 #373FA0 #515AC3 #7F85D3 #ACB0E2

Accessibility & contrast

On white

5.83
#515AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#515AC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515AC3
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515AC3#FFFFFF#000000##FFFFFF
##515AC31.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#176AC7
Deuteranopia (green-blind)
#0060C1
Tritanopia (blue-blind)
#007286
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #515ac3;
/* rgb */ color: rgb(81, 90, 195);
/* oklch */ color: oklch(51.7% 0.162 275.5);
Tailwind
colors: {
  custom: {
    50: '#8c88d6',
    500: '#515ac3',
    950: '#000000',
  },
}
SCSS
$custom: #515ac3;
$custom-light: #8c88d6;
$custom-dark: #000000;
JSON
{
  "hex": "#515ac3",
  "rgb": {
    "r": 81,
    "g": 90,
    "b": 195
  },
  "hsl": {
    "h": 235.263,
    "s": 48.718,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51748,
    "c": 0.16191,
    "h": 275.5
  },
  "luminance": 0.13002
}

Semantic roles & 50–950 ramp

primary
#515AC3
secondary
#D0CCA0
accent
#CD50D8
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #515AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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