#515DD8#515DD8

#515DD8 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.9% C 0.187 H 274.1°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#515DD8
RGBrgb(81, 93, 216)
HSLhsl(235, 63%, 58%)
HSVhsv(235, 63%, 85%)
CMYKcmyk(62.5%, 56.9%, 0%, 15.3%)
CIE-LABlab(44.99, 33.01, -64.72)
CIE-LCHlch(44.99, 72.65, 297.02°)
OKLaboklab(53.88% 0.0133 -0.1861)
OKLCHoklch(53.88% 0.187 274.1)
XYZxyz(19.6983, 14.5343, 66.7198)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515DD8 #D8CC51
analogous
#51A0D8 #515DD8 #8851D8
triadic
#515DD8 #D8515D #5DD851
tetradic
#515DD8 #D851A0 #D8CC51 #51D888
square
#515DD8 #D851A0 #D8CC51 #51D888
split-complementary
#515DD8 #D88851 #A0D851
monochromatic
#202A8F #2B38C1 #515DD8 #838CE3 #B5BAEE

Accessibility & contrast

On white

5.37
#515DD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#515DD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515DD8
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515DD8#FFFFFF#000000##FFFFFF
##515DD81.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DC
Deuteranopia (green-blind)
#0065D6
Tritanopia (blue-blind)
#007B91
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #515dd8;
/* rgb */ color: rgb(81, 93, 216);
/* oklch */ color: oklch(53.9% 0.187 274.1);
Tailwind
colors: {
  custom: {
    50: '#8f8ae5',
    500: '#515dd8',
    950: '#000000',
  },
}
SCSS
$custom: #515dd8;
$custom-light: #8f8ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#515dd8",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 216
  },
  "hsl": {
    "h": 234.667,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.53878,
    "c": 0.18655,
    "h": 274.1
  },
  "luminance": 0.14536
}

Semantic roles & 50–950 ramp

primary
#515DD8
secondary
#DDD9A8
accent
#D841E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #515DD8

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

Preview Lab → · Contrast checker → · Palette generator →

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