#515EC8#515EC8

#515EC8 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.9% C 0.164 H 274.1°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#515EC8
RGBrgb(81, 94, 200)
HSLhsl(233, 52%, 55%)
HSVhsv(233, 60%, 78%)
CMYKcmyk(59.5%, 53%, 0%, 21.6%)
CIE-LABlab(44.12, 27.01, -56.94)
CIE-LCHlch(44.12, 63.02, 295.38°)
OKLaboklab(52.88% 0.0118 -0.1632)
OKLCHoklch(52.88% 0.164 274.1)
XYZxyz(17.8180, 13.9235, 56.3809)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515EC8 #C8BB51
analogous
#519AC8 #515EC8 #7F51C8
triadic
#515EC8 #C8515E #5EC851
tetradic
#515EC8 #C8519A #C8BB51 #51C87F
square
#515EC8 #C8519A #C8BB51 #51C87F
split-complementary
#515EC8 #C87F51 #9AC851
monochromatic
#262F79 #3541A7 #515EC8 #8089D7 #AEB4E5

Accessibility & contrast

On white

5.55
#515EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#515EC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515EC8
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515EC8#FFFFFF#000000##FFFFFF
##515EC81.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D6ECC
Deuteranopia (green-blind)
#0063C6
Tritanopia (blue-blind)
#00778A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #515ec8;
/* rgb */ color: rgb(81, 94, 200);
/* oklch */ color: oklch(52.9% 0.164 274.1);
Tailwind
colors: {
  custom: {
    50: '#8c8bd9',
    500: '#515ec8',
    950: '#000000',
  },
}
SCSS
$custom: #515ec8;
$custom-light: #8c8bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#515ec8",
  "rgb": {
    "r": 81,
    "g": 94,
    "b": 200
  },
  "hsl": {
    "h": 233.445,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.52875,
    "c": 0.16361,
    "h": 274.1
  },
  "luminance": 0.13925
}

Semantic roles & 50–950 ramp

primary
#515EC8
secondary
#D3CEA1
accent
#CC4CDB
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #515EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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