#515DD1#515DD1

#515DD1 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.3% C 0.177 H 274.3°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#515DD1
RGBrgb(81, 93, 209)
HSLhsl(234, 58%, 57%)
HSVhsv(234, 61%, 82%)
CMYKcmyk(61.2%, 55.5%, 0%, 18%)
CIE-LABlab(44.49, 30.66, -61.53)
CIE-LCHlch(44.49, 68.74, 296.49°)
OKLaboklab(53.35% 0.0132 -0.1767)
OKLCHoklch(53.35% 0.177 274.3)
XYZxyz(18.8125, 14.1800, 62.0549)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515DD1 #D1C551
analogous
#519DD1 #515DD1 #8551D1
triadic
#515DD1 #D1515D #5DD151
tetradic
#515DD1 #D1519D #D1C551 #51D185
square
#515DD1 #D1519D #D1C551 #51D185
split-complementary
#515DD1 #D18551 #9DD151
monochromatic
#232C85 #303CB5 #515DD1 #818ADE #B2B7EB

Accessibility & contrast

On white

5.47
#515DD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#515DD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515DD1
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515DD1#FFFFFF#000000##FFFFFF
##515DD11.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD5
Deuteranopia (green-blind)
#0064CF
Tritanopia (blue-blind)
#00798E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #515dd1;
/* rgb */ color: rgb(81, 93, 209);
/* oklch */ color: oklch(53.3% 0.177 274.3);
Tailwind
colors: {
  custom: {
    50: '#8e8ae0',
    500: '#515dd1',
    950: '#000000',
  },
}
SCSS
$custom: #515dd1;
$custom-light: #8e8ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#515dd1",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 209
  },
  "hsl": {
    "h": 234.375,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53347,
    "c": 0.17716,
    "h": 274.3
  },
  "luminance": 0.14181
}

Semantic roles & 50–950 ramp

primary
#515DD1
secondary
#D9D4A5
accent
#D346E1
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #515DD1

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

Preview Lab → · Contrast checker → · Palette generator →

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