#515DC7#515DC7

#515DC7 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.6% C 0.164 H 274.5°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#515DC7
RGBrgb(81, 93, 199)
HSLhsl(234, 51%, 55%)
HSVhsv(234, 59%, 78%)
CMYKcmyk(59.3%, 53.3%, 0%, 22%)
CIE-LABlab(43.80, 27.30, -56.89)
CIE-LCHlch(43.80, 63.10, 295.64°)
OKLaboklab(52.61% 0.0127 -0.163)
OKLCHoklch(52.61% 0.164 274.5)
XYZxyz(17.6131, 13.7002, 55.7380)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515DC7 #C7BB51
analogous
#5198C7 #515DC7 #8051C7
triadic
#515DC7 #C7515D #5DC751
tetradic
#515DC7 #C75198 #C7BB51 #51C780
square
#515DC7 #C75198 #C7BB51 #51C780
split-complementary
#515DC7 #C78051 #98C751
monochromatic
#262F77 #3541A6 #515DC7 #7F88D6 #AEB3E5

Accessibility & contrast

On white

5.61
#515DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#515DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515DC7
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515DC7#FFFFFF#000000##FFFFFF
##515DC71.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B6DCB
Deuteranopia (green-blind)
#0063C5
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #515dc7;
/* rgb */ color: rgb(81, 93, 199);
/* oklch */ color: oklch(52.6% 0.164 274.5);
Tailwind
colors: {
  custom: {
    50: '#8c8ad9',
    500: '#515dc7',
    950: '#000000',
  },
}
SCSS
$custom: #515dc7;
$custom-light: #8c8ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#515dc7",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 199
  },
  "hsl": {
    "h": 233.898,
    "s": 51.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52611,
    "c": 0.16352,
    "h": 274.5
  },
  "luminance": 0.13702
}

Semantic roles & 50–950 ramp

primary
#515DC7
secondary
#D3CEA1
accent
#CC4DDB
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #515DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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