#515CB1#515CB1

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

Color values

HEX#515CB1
RGBrgb(81, 92, 177)
HSLhsl(233, 38%, 51%)
HSVhsv(233, 54%, 69%)
CMYKcmyk(54.2%, 48%, 0%, 30.6%)
CIE-LABlab(42.12, 20.61, -46.77)
CIE-LCHlch(42.12, 51.11, 293.78°)
OKLaboklab(50.89% 0.0118 -0.1333)
OKLCHoklch(50.89% 0.134 275.1)
XYZxyz(15.1538, 12.5769, 43.2155)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515CB1 #B1A651
analogous
#518CB1 #515CB1 #7651B1
triadic
#515CB1 #B1515C #5CB151
tetradic
#515CB1 #B1518C #B1A651 #51B176
square
#515CB1 #B1518C #B1A651 #51B176
split-complementary
#515CB1 #B17651 #8CB151
monochromatic
#2A305E #3D4688 #515CB1 #7B84C4 #A6ABD7

Accessibility & contrast

On white

5.97
#515CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#515CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515CB1
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515CB1#FFFFFF#000000##FFFFFF
##515CB11.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3568B4
Deuteranopia (green-blind)
#2960AF
Tritanopia (blue-blind)
#236F7E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #515cb1;
/* rgb */ color: rgb(81, 92, 177);
/* oklch */ color: oklch(50.9% 0.134 275.1);
Tailwind
colors: {
  custom: {
    50: '#898ac9',
    500: '#515cb1',
    950: '#000000',
  },
}
SCSS
$custom: #515cb1;
$custom-light: #898ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#515cb1",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 177
  },
  "hsl": {
    "h": 233.125,
    "s": 38.095,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50888,
    "c": 0.13381,
    "h": 275.1
  },
  "luminance": 0.12578
}

Semantic roles & 50–950 ramp

primary
#515CB1
secondary
#C4BF9A
accent
#C15ACE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #515CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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