#515BD3#515BD3

#515BD3 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.1% C 0.182 H 274.7°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#515BD3
RGBrgb(81, 91, 211)
HSLhsl(235, 60%, 57%)
HSVhsv(235, 62%, 83%)
CMYKcmyk(61.6%, 56.9%, 0%, 17.3%)
CIE-LABlab(44.14, 32.57, -63.25)
CIE-LCHlch(44.14, 71.14, 297.25°)
OKLaboklab(53.13% 0.0151 -0.1817)
OKLCHoklch(53.13% 0.182 274.7)
XYZxyz(18.8884, 13.9331, 63.3094)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515BD3 #D3C951
analogous
#519CD3 #515BD3 #8851D3
triadic
#515BD3 #D3515B #5BD351
tetradic
#515BD3 #D3519C #D3C951 #51D388
square
#515BD3 #D3519C #D3C951 #51D388
split-complementary
#515BD3 #D38851 #9CD351
monochromatic
#222A87 #2F39B8 #515BD3 #8289DF #B3B7EC

Accessibility & contrast

On white

5.55
#515BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#515BD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515BD3
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515BD3#FFFFFF#000000##FFFFFF
##515BD31.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED7
Deuteranopia (green-blind)
#0063D1
Tritanopia (blue-blind)
#00788E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #515bd3;
/* rgb */ color: rgb(81, 91, 211);
/* oklch */ color: oklch(53.1% 0.182 274.7);
Tailwind
colors: {
  custom: {
    50: '#8e89e1',
    500: '#515bd3',
    950: '#000000',
  },
}
SCSS
$custom: #515bd3;
$custom-light: #8e89e1;
$custom-dark: #000000;
JSON
{
  "hex": "#515bd3",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 211
  },
  "hsl": {
    "h": 235.385,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53129,
    "c": 0.18237,
    "h": 274.7
  },
  "luminance": 0.13935
}

Semantic roles & 50–950 ramp

primary
#515BD3
secondary
#DAD6A6
accent
#D745E3
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #515BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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