#515BD0#515BD0

#515BD0 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.9% C 0.178 H 274.8°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#515BD0
RGBrgb(81, 91, 208)
HSLhsl(235, 57%, 57%)
HSVhsv(235, 61%, 82%)
CMYKcmyk(61.1%, 56.2%, 0%, 18.4%)
CIE-LABlab(43.92, 31.57, -61.87)
CIE-LCHlch(43.92, 69.46, 297.03°)
OKLaboklab(52.9% 0.015 -0.1777)
OKLCHoklch(52.9% 0.178 274.8)
XYZxyz(18.5159, 13.7841, 61.3471)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515BD0 #D0C651
analogous
#519AD0 #515BD0 #8751D0
triadic
#515BD0 #D0515B #5BD051
tetradic
#515BD0 #D0519A #D0C651 #51D087
square
#515BD0 #D0519A #D0C651 #51D087
split-complementary
#515BD0 #D08751 #9AD051
monochromatic
#232B83 #303BB3 #515BD0 #8188DD #B1B6EA

Accessibility & contrast

On white

5.59
#515BD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#515BD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515BD0
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515BD0#FFFFFF#000000##FFFFFF
##515BD01.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD4
Deuteranopia (green-blind)
#0062CE
Tritanopia (blue-blind)
#00778D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #515bd0;
/* rgb */ color: rgb(81, 91, 208);
/* oklch */ color: oklch(52.9% 0.178 274.8);
Tailwind
colors: {
  custom: {
    50: '#8e89df',
    500: '#515bd0',
    950: '#000000',
  },
}
SCSS
$custom: #515bd0;
$custom-light: #8e89df;
$custom-dark: #000000;
JSON
{
  "hex": "#515bd0",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 208
  },
  "hsl": {
    "h": 235.276,
    "s": 57.466,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52901,
    "c": 0.17834,
    "h": 274.8
  },
  "luminance": 0.13786
}

Semantic roles & 50–950 ramp

primary
#515BD0
secondary
#D8D4A4
accent
#D547E1
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #515BD0

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

Preview Lab → · Contrast checker → · Palette generator →

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