#515CD8#515CD8

#515CD8 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.7% C 0.188 H 274.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#515CD8
RGBrgb(81, 92, 216)
HSLhsl(235, 63%, 58%)
HSVhsv(235, 63%, 85%)
CMYKcmyk(62.5%, 57.4%, 0%, 15.3%)
CIE-LABlab(44.74, 33.62, -65.12)
CIE-LCHlch(44.74, 73.29, 297.31°)
OKLaboklab(53.7% 0.0142 -0.1872)
OKLCHoklch(53.7% 0.188 274.3)
XYZxyz(19.6111, 14.3599, 66.6907)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515CD8 #D8CD51
analogous
#519FD8 #515CD8 #8951D8
triadic
#515CD8 #D8515C #5CD851
tetradic
#515CD8 #D8519F #D8CD51 #51D889
square
#515CD8 #D8519F #D8CD51 #51D889
split-complementary
#515CD8 #D88951 #9FD851
monochromatic
#20298F #2B37C1 #515CD8 #838BE3 #B5BAEE

Accessibility & contrast

On white

5.42
#515CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#515CD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515CD8
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515CD8#FFFFFF#000000##FFFFFF
##515CD81.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DC
Deuteranopia (green-blind)
#0064D6
Tritanopia (blue-blind)
#007A91
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #515cd8;
/* rgb */ color: rgb(81, 92, 216);
/* oklch */ color: oklch(53.7% 0.188 274.3);
Tailwind
colors: {
  custom: {
    50: '#8f8ae5',
    500: '#515cd8',
    950: '#000000',
  },
}
SCSS
$custom: #515cd8;
$custom-light: #8f8ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#515cd8",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 216
  },
  "hsl": {
    "h": 235.111,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.53695,
    "c": 0.18779,
    "h": 274.3
  },
  "luminance": 0.14361
}

Semantic roles & 50–950 ramp

primary
#515CD8
secondary
#DDD9A8
accent
#D941E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #515CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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