#515DB3#515DB3

#515DB3 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.2% C 0.135 H 274.6°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#515DB3
RGBrgb(81, 93, 179)
HSLhsl(233, 39%, 51%)
HSVhsv(233, 55%, 70%)
CMYKcmyk(54.7%, 48%, 0%, 29.8%)
CIE-LABlab(42.51, 20.64, -47.32)
CIE-LCHlch(42.51, 51.63, 293.56°)
OKLaboklab(51.22% 0.0109 -0.1349)
OKLCHoklch(51.22% 0.135 274.6)
XYZxyz(15.4418, 12.8317, 44.3021)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515DB3 #B3A751
analogous
#518EB3 #515DB3 #7651B3
triadic
#515DB3 #B3515D #5DB351
tetradic
#515DB3 #B3518E #B3A751 #51B376
square
#515DB3 #B3518E #B3A751 #51B376
split-complementary
#515DB3 #B37651 #8EB351
monochromatic
#2A3060 #3C468A #515DB3 #7C85C6 #A6ACD8

Accessibility & contrast

On white

5.89
#515DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#515DB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515DB3
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515DB3#FFFFFF#000000##FFFFFF
##515DB31.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3569B6
Deuteranopia (green-blind)
#2860B1
Tritanopia (blue-blind)
#20707F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #515db3;
/* rgb */ color: rgb(81, 93, 179);
/* oklch */ color: oklch(51.2% 0.135 274.6);
Tailwind
colors: {
  custom: {
    50: '#898aca',
    500: '#515db3',
    950: '#000000',
  },
}
SCSS
$custom: #515db3;
$custom-light: #898aca;
$custom-dark: #000000;
JSON
{
  "hex": "#515db3",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 179
  },
  "hsl": {
    "h": 232.653,
    "s": 39.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51223,
    "c": 0.13534,
    "h": 274.6
  },
  "luminance": 0.12833
}

Semantic roles & 50–950 ramp

primary
#515DB3
secondary
#C6C09A
accent
#C159CF
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #515DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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