#515BD4#515BD4

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

Color values

HEX#515BD4
RGBrgb(81, 91, 212)
HSLhsl(235, 60%, 57%)
HSVhsv(235, 62%, 83%)
CMYKcmyk(61.8%, 57.1%, 0%, 16.9%)
CIE-LABlab(44.21, 32.90, -63.70)
CIE-LCHlch(44.21, 71.70, 297.32°)
OKLaboklab(53.21% 0.0151 -0.1831)
OKLCHoklch(53.21% 0.184 274.7)
XYZxyz(19.0142, 13.9834, 63.9717)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515BD4 #D4CA51
analogous
#519CD4 #515BD4 #8951D4
triadic
#515BD4 #D4515B #5BD451
tetradic
#515BD4 #D4519C #D4CA51 #51D489
square
#515BD4 #D4519C #D4CA51 #51D489
split-complementary
#515BD4 #D48951 #9CD451
monochromatic
#222A89 #2E39BA #515BD4 #8289E0 #B3B8EC

Accessibility & contrast

On white

5.53
#515BD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#515BD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515BD4
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515BD4#FFFFFF#000000##FFFFFF
##515BD41.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #515bd4;
/* rgb */ color: rgb(81, 91, 212);
/* oklch */ color: oklch(53.2% 0.184 274.7);
Tailwind
colors: {
  custom: {
    50: '#8f89e2',
    500: '#515bd4',
    950: '#000000',
  },
}
SCSS
$custom: #515bd4;
$custom-light: #8f89e2;
$custom-dark: #000000;
JSON
{
  "hex": "#515bd4",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 212
  },
  "hsl": {
    "h": 235.42,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.53206,
    "c": 0.18371,
    "h": 274.7
  },
  "luminance": 0.13985
}

Semantic roles & 50–950 ramp

primary
#515BD4
secondary
#DBD7A6
accent
#D744E4
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #515BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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