#515AD2#515AD2

#515AD2 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.9% C 0.182 H 275.0°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#515AD2
RGBrgb(81, 90, 210)
HSLhsl(236, 59%, 57%)
HSVhsv(236, 61%, 82%)
CMYKcmyk(61.4%, 57.1%, 0%, 17.6%)
CIE-LABlab(43.82, 32.86, -63.19)
CIE-LCHlch(43.82, 71.22, 297.47°)
OKLaboklab(52.87% 0.016 -0.1816)
OKLCHoklch(52.87% 0.182 275)
XYZxyz(18.6786, 13.7133, 62.6229)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515AD2 #D2C951
analogous
#519BD2 #515AD2 #8951D2
triadic
#515AD2 #D2515A #5AD251
tetradic
#515AD2 #D2519B #D2C951 #51D289
square
#515AD2 #D2519B #D2C951 #51D289
split-complementary
#515AD2 #D28951 #9BD251
monochromatic
#232A86 #2F39B7 #515AD2 #8288DF #B2B6EB

Accessibility & contrast

On white

5.61
#515AD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#515AD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515AD2
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515AD2#FFFFFF#000000##FFFFFF
##515AD21.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #515ad2;
/* rgb */ color: rgb(81, 90, 210);
/* oklch */ color: oklch(52.9% 0.182 275.0);
Tailwind
colors: {
  custom: {
    50: '#8e88e1',
    500: '#515ad2',
    950: '#000000',
  },
}
SCSS
$custom: #515ad2;
$custom-light: #8e88e1;
$custom-dark: #000000;
JSON
{
  "hex": "#515ad2",
  "rgb": {
    "r": 81,
    "g": 90,
    "b": 210
  },
  "hsl": {
    "h": 235.814,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5287,
    "c": 0.18229,
    "h": 275
  },
  "luminance": 0.13715
}

Semantic roles & 50–950 ramp

primary
#515AD2
secondary
#DAD6A5
accent
#D746E2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #515AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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