#515BD5#515BD5

#515BD5 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.3% C 0.185 H 274.7°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#515BD5
RGBrgb(81, 91, 213)
HSLhsl(235, 61%, 58%)
HSVhsv(235, 62%, 84%)
CMYKcmyk(62%, 57.3%, 0%, 16.5%)
CIE-LABlab(44.28, 33.24, -64.16)
CIE-LCHlch(44.28, 72.25, 297.39°)
OKLaboklab(53.28% 0.0151 -0.1844)
OKLCHoklch(53.28% 0.185 274.7)
XYZxyz(19.1407, 14.0340, 64.6381)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515BD5 #D5CB51
analogous
#519DD5 #515BD5 #8951D5
triadic
#515BD5 #D5515B #5BD551
tetradic
#515BD5 #D5519D #D5CB51 #51D589
square
#515BD5 #D5519D #D5CB51 #51D589
split-complementary
#515BD5 #D58951 #9DD551
monochromatic
#21298A #2D38BC #515BD5 #8289E1 #B4B8ED

Accessibility & contrast

On white

5.52
#515BD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#515BD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515BD5
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515BD5#FFFFFF#000000##FFFFFF
##515BD51.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD9
Deuteranopia (green-blind)
#0063D3
Tritanopia (blue-blind)
#00788F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #515bd5;
/* rgb */ color: rgb(81, 91, 213);
/* oklch */ color: oklch(53.3% 0.185 274.7);
Tailwind
colors: {
  custom: {
    50: '#8f89e3',
    500: '#515bd5',
    950: '#000000',
  },
}
SCSS
$custom: #515bd5;
$custom-light: #8f89e3;
$custom-dark: #000000;
JSON
{
  "hex": "#515bd5",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 213
  },
  "hsl": {
    "h": 235.455,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.53282,
    "c": 0.18504,
    "h": 274.7
  },
  "luminance": 0.14036
}

Semantic roles & 50–950 ramp

primary
#515BD5
secondary
#DBD7A6
accent
#D844E4
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B15
muted
#7E7C84

Preview Lab

Preview with #515BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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