#515CB5#515CB5

#515CB5 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.2% C 0.140 H 275.0°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#515CB5
RGBrgb(81, 92, 181)
HSLhsl(233, 40%, 51%)
HSVhsv(233, 55%, 71%)
CMYKcmyk(55.2%, 49.2%, 0%, 29%)
CIE-LABlab(42.37, 21.93, -48.72)
CIE-LCHlch(42.37, 53.43, 294.23°)
OKLaboklab(51.16% 0.0123 -0.139)
OKLCHoklch(51.16% 0.14 275)
XYZxyz(15.5583, 12.7388, 45.3461)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515CB5 #B5AA51
analogous
#518EB5 #515CB5 #7851B5
triadic
#515CB5 #B5515C #5CB551
tetradic
#515CB5 #B5518E #B5AA51 #51B578
square
#515CB5 #B5518E #B5AA51 #51B578
split-complementary
#515CB5 #B57851 #8EB551
monochromatic
#2A3062 #3C458D #515CB5 #7C84C7 #A7ACDA

Accessibility & contrast

On white

5.92
#515CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#515CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515CB5
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515CB5#FFFFFF#000000##FFFFFF
##515CB51.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3168B8
Deuteranopia (green-blind)
#2360B3
Tritanopia (blue-blind)
#1D7080
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #515cb5;
/* rgb */ color: rgb(81, 92, 181);
/* oklch */ color: oklch(51.2% 0.140 275.0);
Tailwind
colors: {
  custom: {
    50: '#8a8acc',
    500: '#515cb5',
    950: '#000000',
  },
}
SCSS
$custom: #515cb5;
$custom-light: #8a8acc;
$custom-dark: #000000;
JSON
{
  "hex": "#515cb5",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 181
  },
  "hsl": {
    "h": 233.4,
    "s": 40.323,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51156,
    "c": 0.13956,
    "h": 275
  },
  "luminance": 0.1274
}

Semantic roles & 50–950 ramp

primary
#515CB5
secondary
#C7C29B
accent
#C358D0
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #515CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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