#515BC8#515BC8

#515BC8 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.3% C 0.167 H 275.1°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#515BC8
RGBrgb(81, 91, 200)
HSLhsl(235, 52%, 55%)
HSVhsv(235, 60%, 78%)
CMYKcmyk(59.5%, 54.5%, 0%, 21.6%)
CIE-LABlab(43.36, 28.89, -58.17)
CIE-LCHlch(43.36, 64.95, 296.41°)
OKLaboklab(52.3% 0.0148 -0.1668)
OKLCHoklch(52.3% 0.167 275.1)
XYZxyz(17.5564, 13.4003, 56.2937)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515BC8 #C8BE51
analogous
#5196C8 #515BC8 #8251C8
triadic
#515BC8 #C8515B #5BC851
tetradic
#515BC8 #C85196 #C8BE51 #51C882
square
#515BC8 #C85196 #C8BE51 #51C882
split-complementary
#515BC8 #C88251 #96C851
monochromatic
#262D79 #353EA7 #515BC8 #8087D7 #AEB3E5

Accessibility & contrast

On white

5.71
#515BC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#515BC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515BC8
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515BC8#FFFFFF#000000##FFFFFF
##515BC81.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E6CCC
Deuteranopia (green-blind)
#0061C6
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #515bc8;
/* rgb */ color: rgb(81, 91, 200);
/* oklch */ color: oklch(52.3% 0.167 275.1);
Tailwind
colors: {
  custom: {
    50: '#8d89d9',
    500: '#515bc8',
    950: '#000000',
  },
}
SCSS
$custom: #515bc8;
$custom-light: #8d89d9;
$custom-dark: #000000;
JSON
{
  "hex": "#515bc8",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 200
  },
  "hsl": {
    "h": 234.958,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.52304,
    "c": 0.16748,
    "h": 275.1
  },
  "luminance": 0.13402
}

Semantic roles & 50–950 ramp

primary
#515BC8
secondary
#D3CFA1
accent
#CF4CDB
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #515BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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