#515AC4#515AC4

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

Color values

HEX#515AC4
RGBrgb(81, 90, 196)
HSLhsl(235, 49%, 54%)
HSVhsv(235, 59%, 77%)
CMYKcmyk(58.7%, 54.1%, 0%, 23.1%)
CIE-LABlab(42.83, 28.18, -56.71)
CIE-LCHlch(42.83, 63.33, 296.42°)
OKLaboklab(51.82% 0.0156 -0.1625)
OKLCHoklch(51.82% 0.163 275.5)
XYZxyz(17.0101, 13.0459, 53.8356)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515AC4 #C4BB51
analogous
#5194C4 #515AC4 #8251C4
triadic
#515AC4 #C4515A #5AC451
tetradic
#515AC4 #C45194 #C4BB51 #51C482
square
#515AC4 #C45194 #C4BB51 #51C482
split-complementary
#515AC4 #C48251 #94C451
monochromatic
#272D73 #373FA1 #515AC4 #7F85D3 #ACB1E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##515AC4#FFFFFF#000000##FFFFFF
##515AC41.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)
#146AC8
Deuteranopia (green-blind)
#0060C2
Tritanopia (blue-blind)
#007386
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #515ac4;
/* rgb */ color: rgb(81, 90, 196);
/* oklch */ color: oklch(51.8% 0.163 275.5);
Tailwind
colors: {
  custom: {
    50: '#8c88d7',
    500: '#515ac4',
    950: '#000000',
  },
}
SCSS
$custom: #515ac4;
$custom-light: #8c88d7;
$custom-dark: #000000;
JSON
{
  "hex": "#515ac4",
  "rgb": {
    "r": 81,
    "g": 90,
    "b": 196
  },
  "hsl": {
    "h": 235.304,
    "s": 49.356,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51821,
    "c": 0.16329,
    "h": 275.5
  },
  "luminance": 0.13047
}

Semantic roles & 50–950 ramp

primary
#515AC4
secondary
#D1CDA0
accent
#CE4FD9
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #515AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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