#515CB3#515CB3

#515CB3 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.0% C 0.137 H 275.1°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#515CB3
RGBrgb(81, 92, 179)
HSLhsl(233, 39%, 51%)
HSVhsv(233, 55%, 70%)
CMYKcmyk(54.7%, 48.6%, 0%, 29.8%)
CIE-LABlab(42.24, 21.27, -47.75)
CIE-LCHlch(42.24, 52.27, 294.01°)
OKLaboklab(51.02% 0.012 -0.1362)
OKLCHoklch(51.02% 0.137 275.1)
XYZxyz(15.3546, 12.6573, 44.2731)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515CB3 #B3A851
analogous
#518DB3 #515CB3 #7751B3
triadic
#515CB3 #B3515C #5CB351
tetradic
#515CB3 #B3518D #B3A851 #51B377
square
#515CB3 #B3518D #B3A851 #51B377
split-complementary
#515CB3 #B37751 #8DB351
monochromatic
#2A3060 #3C458A #515CB3 #7C84C6 #A6ACD8

Accessibility & contrast

On white

5.95
#515CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#515CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515CB3
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515CB3#FFFFFF#000000##FFFFFF
##515CB31.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3368B6
Deuteranopia (green-blind)
#2660B1
Tritanopia (blue-blind)
#206F7F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #515cb3;
/* rgb */ color: rgb(81, 92, 179);
/* oklch */ color: oklch(51.0% 0.137 275.1);
Tailwind
colors: {
  custom: {
    50: '#898aca',
    500: '#515cb3',
    950: '#000000',
  },
}
SCSS
$custom: #515cb3;
$custom-light: #898aca;
$custom-dark: #000000;
JSON
{
  "hex": "#515cb3",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 179
  },
  "hsl": {
    "h": 233.265,
    "s": 39.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51021,
    "c": 0.13669,
    "h": 275.1
  },
  "luminance": 0.12658
}

Semantic roles & 50–950 ramp

primary
#515CB3
secondary
#C6C19A
accent
#C259CF
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #515CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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