#515AD0#515AD0

#515AD0 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.7% C 0.180 H 275.1°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#515AD0
RGBrgb(81, 90, 208)
HSLhsl(236, 57%, 57%)
HSVhsv(236, 61%, 82%)
CMYKcmyk(61.1%, 56.7%, 0%, 18.4%)
CIE-LABlab(43.67, 32.19, -62.27)
CIE-LCHlch(43.67, 70.10, 297.33°)
OKLaboklab(52.72% 0.016 -0.1789)
OKLCHoklch(52.72% 0.18 275.1)
XYZxyz(18.4309, 13.6143, 61.3188)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515AD0 #D0C751
analogous
#519AD0 #515AD0 #8851D0
triadic
#515AD0 #D0515A #5AD051
tetradic
#515AD0 #D0519A #D0C751 #51D088
square
#515AD0 #D0519A #D0C751 #51D088
split-complementary
#515AD0 #D08851 #9AD051
monochromatic
#232A83 #303AB3 #515AD0 #8188DD #B1B5EA

Accessibility & contrast

On white

5.64
#515AD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#515AD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515AD0
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515AD0#FFFFFF#000000##FFFFFF
##515AD01.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD4
Deuteranopia (green-blind)
#0062CE
Tritanopia (blue-blind)
#00768C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #515ad0;
/* rgb */ color: rgb(81, 90, 208);
/* oklch */ color: oklch(52.7% 0.180 275.1);
Tailwind
colors: {
  custom: {
    50: '#8e88df',
    500: '#515ad0',
    950: '#000000',
  },
}
SCSS
$custom: #515ad0;
$custom-light: #8e88df;
$custom-dark: #000000;
JSON
{
  "hex": "#515ad0",
  "rgb": {
    "r": 81,
    "g": 90,
    "b": 208
  },
  "hsl": {
    "h": 235.748,
    "s": 57.466,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52717,
    "c": 0.17961,
    "h": 275.1
  },
  "luminance": 0.13616
}

Semantic roles & 50–950 ramp

primary
#515AD0
secondary
#D8D5A4
accent
#D647E1
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #515AD0

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

Preview Lab → · Contrast checker → · Palette generator →

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