#515DD3#515DD3

#515DD3 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.5% C 0.180 H 274.2°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#515DD3
RGBrgb(81, 93, 211)
HSLhsl(234, 60%, 57%)
HSVhsv(234, 62%, 83%)
CMYKcmyk(61.6%, 55.9%, 0%, 17.3%)
CIE-LABlab(44.63, 31.33, -62.44)
CIE-LCHlch(44.63, 69.86, 296.64°)
OKLaboklab(53.5% 0.0132 -0.1794)
OKLCHoklch(53.5% 0.18 274.2)
XYZxyz(19.0617, 14.2796, 63.3671)
Luminance0.1428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515DD3 #D3C751
analogous
#519ED3 #515DD3 #8651D3
triadic
#515DD3 #D3515D #5DD351
tetradic
#515DD3 #D3519E #D3C751 #51D386
square
#515DD3 #D3519E #D3C751 #51D386
split-complementary
#515DD3 #D38651 #9ED351
monochromatic
#222C87 #2F3BB8 #515DD3 #828ADF #B3B8EC

Accessibility & contrast

On white

5.45
#515DD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#515DD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515DD3
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515DD3#FFFFFF#000000##FFFFFF
##515DD31.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD7
Deuteranopia (green-blind)
#0064D1
Tritanopia (blue-blind)
#00798F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #515dd3;
/* rgb */ color: rgb(81, 93, 211);
/* oklch */ color: oklch(53.5% 0.180 274.2);
Tailwind
colors: {
  custom: {
    50: '#8e8ae1',
    500: '#515dd3',
    950: '#000000',
  },
}
SCSS
$custom: #515dd3;
$custom-light: #8e8ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#515dd3",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 211
  },
  "hsl": {
    "h": 234.462,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53497,
    "c": 0.17986,
    "h": 274.2
  },
  "luminance": 0.14281
}

Semantic roles & 50–950 ramp

primary
#515DD3
secondary
#DAD5A6
accent
#D445E3
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #515DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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