#515BC1#515BC1

#515BC1 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.8% C 0.158 H 275.2°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#515BC1
RGBrgb(81, 91, 193)
HSLhsl(235, 47%, 54%)
HSVhsv(235, 58%, 76%)
CMYKcmyk(58%, 52.8%, 0%, 24.3%)
CIE-LABlab(42.88, 26.55, -54.89)
CIE-LCHlch(42.88, 60.97, 295.81°)
OKLaboklab(51.8% 0.0144 -0.1572)
OKLCHoklch(51.8% 0.158 275.2)
XYZxyz(16.7569, 13.0805, 52.0835)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515BC1 #C1B751
analogous
#5193C1 #515BC1 #7F51C1
triadic
#515BC1 #C1515B #5BC151
tetradic
#515BC1 #C15193 #C1B751 #51C17F
square
#515BC1 #C15193 #C1B751 #51C17F
split-complementary
#515BC1 #C17F51 #93C151
monochromatic
#282E70 #38419D #515BC1 #7E86D1 #ABB0E1

Accessibility & contrast

On white

5.81
#515BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#515BC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515BC1
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515BC1#FFFFFF#000000##FFFFFF
##515BC11.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F6AC5
Deuteranopia (green-blind)
#0061BF
Tritanopia (blue-blind)
#007285
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #515bc1;
/* rgb */ color: rgb(81, 91, 193);
/* oklch */ color: oklch(51.8% 0.158 275.2);
Tailwind
colors: {
  custom: {
    50: '#8b89d4',
    500: '#515bc1',
    950: '#000000',
  },
}
SCSS
$custom: #515bc1;
$custom-light: #8b89d4;
$custom-dark: #000000;
JSON
{
  "hex": "#515bc1",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 193
  },
  "hsl": {
    "h": 234.643,
    "s": 47.458,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51795,
    "c": 0.15783,
    "h": 275.2
  },
  "luminance": 0.13082
}

Semantic roles & 50–950 ramp

primary
#515BC1
secondary
#CFCB9F
accent
#CB51D7
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #515BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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