#515DC8#515DC8

#515DC8 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.7% C 0.165 H 274.4°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#515DC8
RGBrgb(81, 93, 200)
HSLhsl(234, 52%, 55%)
HSVhsv(234, 60%, 78%)
CMYKcmyk(59.5%, 53.5%, 0%, 21.6%)
CIE-LABlab(43.87, 27.64, -57.36)
CIE-LCHlch(43.87, 63.67, 295.73°)
OKLaboklab(52.68% 0.0128 -0.1644)
OKLCHoklch(52.68% 0.165 274.4)
XYZxyz(17.7296, 13.7468, 56.3515)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515DC8 #C8BC51
analogous
#5198C8 #515DC8 #8151C8
triadic
#515DC8 #C8515D #5DC851
tetradic
#515DC8 #C85198 #C8BC51 #51C881
square
#515DC8 #C85198 #C8BC51 #51C881
split-complementary
#515DC8 #C88151 #98C851
monochromatic
#262E79 #3540A7 #515DC8 #8088D7 #AEB4E5

Accessibility & contrast

On white

5.60
#515DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#515DC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515DC8
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515DC8#FFFFFF#000000##FFFFFF
##515DC81.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#186DCC
Deuteranopia (green-blind)
#0063C6
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #515dc8;
/* rgb */ color: rgb(81, 93, 200);
/* oklch */ color: oklch(52.7% 0.165 274.4);
Tailwind
colors: {
  custom: {
    50: '#8c8ad9',
    500: '#515dc8',
    950: '#000000',
  },
}
SCSS
$custom: #515dc8;
$custom-light: #8c8ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#515dc8",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 200
  },
  "hsl": {
    "h": 233.95,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.52684,
    "c": 0.1649,
    "h": 274.4
  },
  "luminance": 0.13748
}

Semantic roles & 50–950 ramp

primary
#515DC8
secondary
#D3CEA1
accent
#CD4CDB
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #515DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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