#515DD9#515DD9

#515DD9 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.0% C 0.188 H 274.1°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#515DD9
RGBrgb(81, 93, 217)
HSLhsl(235, 64%, 58%)
HSVhsv(235, 63%, 85%)
CMYKcmyk(62.7%, 57.1%, 0%, 14.9%)
CIE-LABlab(45.06, 33.34, -65.17)
CIE-LCHlch(45.06, 73.21, 297.09°)
OKLaboklab(53.95% 0.0134 -0.1874)
OKLCHoklch(53.95% 0.188 274.1)
XYZxyz(19.8279, 14.5861, 67.4027)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515DD9 #D9CD51
analogous
#51A1D9 #515DD9 #8951D9
triadic
#515DD9 #D9515D #5DD951
tetradic
#515DD9 #D951A1 #D9CD51 #51D989
square
#515DD9 #D951A1 #D9CD51 #51D989
split-complementary
#515DD9 #D98951 #A1D951
monochromatic
#1F2990 #2A38C2 #515DD9 #838CE4 #B5BBEF

Accessibility & contrast

On white

5.36
#515DD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#515DD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515DD9
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515DD9#FFFFFF#000000##FFFFFF
##515DD91.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DD
Deuteranopia (green-blind)
#0065D7
Tritanopia (blue-blind)
#007B92
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #515dd9;
/* rgb */ color: rgb(81, 93, 217);
/* oklch */ color: oklch(54.0% 0.188 274.1);
Tailwind
colors: {
  custom: {
    50: '#8f8ae6',
    500: '#515dd9',
    950: '#000000',
  },
}
SCSS
$custom: #515dd9;
$custom-light: #8f8ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#515dd9",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 217
  },
  "hsl": {
    "h": 234.706,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.53954,
    "c": 0.18787,
    "h": 274.1
  },
  "luminance": 0.14588
}

Semantic roles & 50–950 ramp

primary
#515DD9
secondary
#DED9A8
accent
#D841E7
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #515DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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