#515BC7#515BC7

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

Color values

HEX#515BC7
RGBrgb(81, 91, 199)
HSLhsl(235, 51%, 55%)
HSVhsv(235, 59%, 78%)
CMYKcmyk(59.3%, 54.3%, 0%, 22%)
CIE-LABlab(43.29, 28.56, -57.71)
CIE-LCHlch(43.29, 64.39, 296.33°)
OKLaboklab(52.23% 0.0147 -0.1655)
OKLCHoklch(52.23% 0.166 275.1)
XYZxyz(17.4399, 13.3537, 55.6803)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515BC7 #C7BD51
analogous
#5196C7 #515BC7 #8251C7
triadic
#515BC7 #C7515B #5BC751
tetradic
#515BC7 #C75196 #C7BD51 #51C782
square
#515BC7 #C75196 #C7BD51 #51C782
split-complementary
#515BC7 #C78251 #96C751
monochromatic
#262D77 #353FA6 #515BC7 #7F87D6 #AEB2E5

Accessibility & contrast

On white

5.72
#515BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#515BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515BC7
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515BC7#FFFFFF#000000##FFFFFF
##515BC71.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#116BCB
Deuteranopia (green-blind)
#0061C5
Tritanopia (blue-blind)
#007488
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #515bc7;
/* rgb */ color: rgb(81, 91, 199);
/* oklch */ color: oklch(52.2% 0.166 275.1);
Tailwind
colors: {
  custom: {
    50: '#8c89d9',
    500: '#515bc7',
    950: '#000000',
  },
}
SCSS
$custom: #515bc7;
$custom-light: #8c89d9;
$custom-dark: #000000;
JSON
{
  "hex": "#515bc7",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 199
  },
  "hsl": {
    "h": 234.915,
    "s": 51.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5223,
    "c": 0.16611,
    "h": 275.1
  },
  "luminance": 0.13355
}

Semantic roles & 50–950 ramp

primary
#515BC7
secondary
#D3CFA1
accent
#CF4DDB
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #515BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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