#515CC7#515CC7

#515CC7 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.4% C 0.165 H 274.8°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#515CC7
RGBrgb(81, 92, 199)
HSLhsl(234, 51%, 55%)
HSVhsv(234, 59%, 78%)
CMYKcmyk(59.3%, 53.8%, 0%, 22%)
CIE-LABlab(43.55, 27.93, -57.30)
CIE-LCHlch(43.55, 63.74, 295.99°)
OKLaboklab(52.42% 0.0137 -0.1642)
OKLCHoklch(52.42% 0.165 274.8)
XYZxyz(17.5259, 13.5258, 55.7089)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515CC7 #C7BC51
analogous
#5197C7 #515CC7 #8151C7
triadic
#515CC7 #C7515C #5CC751
tetradic
#515CC7 #C75197 #C7BC51 #51C781
square
#515CC7 #C75197 #C7BC51 #51C781
split-complementary
#515CC7 #C78151 #97C751
monochromatic
#262E77 #3540A6 #515CC7 #7F87D6 #AEB3E5

Accessibility & contrast

On white

5.67
#515CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#515CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515CC7
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515CC7#FFFFFF#000000##FFFFFF
##515CC71.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#166CCB
Deuteranopia (green-blind)
#0062C5
Tritanopia (blue-blind)
#007588
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #515cc7;
/* rgb */ color: rgb(81, 92, 199);
/* oklch */ color: oklch(52.4% 0.165 274.8);
Tailwind
colors: {
  custom: {
    50: '#8c8ad9',
    500: '#515cc7',
    950: '#000000',
  },
}
SCSS
$custom: #515cc7;
$custom-light: #8c8ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#515cc7",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 199
  },
  "hsl": {
    "h": 234.407,
    "s": 51.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5242,
    "c": 0.16481,
    "h": 274.8
  },
  "luminance": 0.13527
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #515CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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