#515CC1#515CC1

#515CC1 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.0% C 0.157 H 274.9°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#515CC1
RGBrgb(81, 92, 193)
HSLhsl(234, 47%, 54%)
HSVhsv(234, 58%, 76%)
CMYKcmyk(58%, 52.3%, 0%, 24.3%)
CIE-LABlab(43.14, 25.92, -54.48)
CIE-LCHlch(43.14, 60.33, 295.45°)
OKLaboklab(51.99% 0.0134 -0.1559)
OKLCHoklch(51.99% 0.157 274.9)
XYZxyz(16.8430, 13.2526, 52.1122)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515CC1 #C1B651
analogous
#5194C1 #515CC1 #7E51C1
triadic
#515CC1 #C1515C #5CC151
tetradic
#515CC1 #C15194 #C1B651 #51C17E
square
#515CC1 #C15194 #C1B651 #51C17E
split-complementary
#515CC1 #C17E51 #94C151
monochromatic
#282F70 #38429D #515CC1 #7E86D1 #ABB1E1

Accessibility & contrast

On white

5.75
#515CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#515CC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515CC1
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515CC1#FFFFFF#000000##FFFFFF
##515CC11.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226BC5
Deuteranopia (green-blind)
#0361BF
Tritanopia (blue-blind)
#007385
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #515cc1;
/* rgb */ color: rgb(81, 92, 193);
/* oklch */ color: oklch(52.0% 0.157 274.9);
Tailwind
colors: {
  custom: {
    50: '#8b8ad4',
    500: '#515cc1',
    950: '#000000',
  },
}
SCSS
$custom: #515cc1;
$custom-light: #8b8ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#515cc1",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 193
  },
  "hsl": {
    "h": 234.107,
    "s": 47.458,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51988,
    "c": 0.15651,
    "h": 274.9
  },
  "luminance": 0.13254
}

Semantic roles & 50–950 ramp

primary
#515CC1
secondary
#CFCA9F
accent
#CA51D7
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #515CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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