#515CBA#515CBA

#515CBA is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.5% C 0.147 H 275.0°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#515CBA
RGBrgb(81, 92, 186)
HSLhsl(234, 43%, 52%)
HSVhsv(234, 56%, 73%)
CMYKcmyk(56.5%, 50.5%, 0%, 27.1%)
CIE-LABlab(42.68, 23.59, -51.14)
CIE-LCHlch(42.68, 56.32, 294.76°)
OKLaboklab(51.5% 0.0128 -0.1461)
OKLCHoklch(51.5% 0.147 275)
XYZxyz(16.0806, 12.9477, 48.0966)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515CBA #BAAF51
analogous
#5191BA #515CBA #7A51BA
triadic
#515CBA #BA515C #5CBA51
tetradic
#515CBA #BA5191 #BAAF51 #51BA7A
square
#515CBA #BA5191 #BAAF51 #51BA7A
split-complementary
#515CBA #BA7A51 #91BA51
monochromatic
#293068 #3A4493 #515CBA #7D85CB #A9AEDD

Accessibility & contrast

On white

5.85
#515CBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#515CBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515CBA
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515CBA#FFFFFF#000000##FFFFFF
##515CBA1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B69BD
Deuteranopia (green-blind)
#1A61B8
Tritanopia (blue-blind)
#157182
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #515cba;
/* rgb */ color: rgb(81, 92, 186);
/* oklch */ color: oklch(51.5% 0.147 275.0);
Tailwind
colors: {
  custom: {
    50: '#8a8acf',
    500: '#515cba',
    950: '#000000',
  },
}
SCSS
$custom: #515cba;
$custom-light: #8a8acf;
$custom-dark: #000000;
JSON
{
  "hex": "#515cba",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 186
  },
  "hsl": {
    "h": 233.714,
    "s": 43.21,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51498,
    "c": 0.14668,
    "h": 275
  },
  "luminance": 0.12949
}

Semantic roles & 50–950 ramp

primary
#515CBA
secondary
#CAC59D
accent
#C655D3
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0D0B14
muted
#7D7C82

Preview Lab

Preview with #515CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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