#515BD2#515BD2

#515BD2 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.1% C 0.181 H 274.8°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#515BD2
RGBrgb(81, 91, 210)
HSLhsl(235, 59%, 57%)
HSVhsv(235, 61%, 82%)
CMYKcmyk(61.4%, 56.7%, 0%, 17.6%)
CIE-LABlab(44.06, 32.24, -62.79)
CIE-LCHlch(44.06, 70.58, 297.18°)
OKLaboklab(53.05% 0.0151 -0.1804)
OKLCHoklch(53.05% 0.181 274.8)
XYZxyz(18.7635, 13.8831, 62.6512)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515BD2 #D2C851
analogous
#519CD2 #515BD2 #8851D2
triadic
#515BD2 #D2515B #5BD251
tetradic
#515BD2 #D2519C #D2C851 #51D288
square
#515BD2 #D2519C #D2C851 #51D288
split-complementary
#515BD2 #D28851 #9CD251
monochromatic
#232A86 #2F3AB7 #515BD2 #8289DF #B2B7EB

Accessibility & contrast

On white

5.56
#515BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#515BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515BD2
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515BD2#FFFFFF#000000##FFFFFF
##515BD21.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#0063D0
Tritanopia (blue-blind)
#00778E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #515bd2;
/* rgb */ color: rgb(81, 91, 210);
/* oklch */ color: oklch(53.1% 0.181 274.8);
Tailwind
colors: {
  custom: {
    50: '#8e89e1',
    500: '#515bd2',
    950: '#000000',
  },
}
SCSS
$custom: #515bd2;
$custom-light: #8e89e1;
$custom-dark: #000000;
JSON
{
  "hex": "#515bd2",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 210
  },
  "hsl": {
    "h": 235.349,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53053,
    "c": 0.18104,
    "h": 274.8
  },
  "luminance": 0.13885
}

Semantic roles & 50–950 ramp

primary
#515BD2
secondary
#DAD6A5
accent
#D646E2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #515BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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