#515DB0#515DB0

#515DB0 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.0% C 0.131 H 274.6°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#515DB0
RGBrgb(81, 93, 176)
HSLhsl(232, 38%, 50%)
HSVhsv(232, 54%, 69%)
CMYKcmyk(54%, 47.2%, 0%, 31%)
CIE-LABlab(42.33, 19.65, -45.86)
CIE-LCHlch(42.33, 49.89, 293.19°)
OKLaboklab(51.03% 0.0105 -0.1306)
OKLCHoklch(51.03% 0.131 274.6)
XYZxyz(15.1417, 12.7116, 42.7216)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515DB0 #B0A451
analogous
#518CB0 #515DB0 #7451B0
triadic
#515DB0 #B0515D #5DB051
tetradic
#515DB0 #B0518C #B0A451 #51B074
square
#515DB0 #B0518C #B0A451 #51B074
split-complementary
#515DB0 #B07451 #8CB051
monochromatic
#2A305D #3D4687 #515DB0 #7B84C3 #A5ABD6

Accessibility & contrast

On white

5.93
#515DB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#515DB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515DB0
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515DB0#FFFFFF#000000##FFFFFF
##515DB01.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3768B3
Deuteranopia (green-blind)
#2C60AE
Tritanopia (blue-blind)
#246F7E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #515db0;
/* rgb */ color: rgb(81, 93, 176);
/* oklch */ color: oklch(51.0% 0.131 274.6);
Tailwind
colors: {
  custom: {
    50: '#898ac8',
    500: '#515db0',
    950: '#000000',
  },
}
SCSS
$custom: #515db0;
$custom-light: #898ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#515db0",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 176
  },
  "hsl": {
    "h": 232.421,
    "s": 37.549,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51025,
    "c": 0.13101,
    "h": 274.6
  },
  "luminance": 0.12713
}

Semantic roles & 50–950 ramp

primary
#515DB0
secondary
#C4BE99
accent
#BF5ACE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #515DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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