#515BB3#515BB3

#515BB3 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.8% C 0.138 H 275.5°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#515BB3
RGBrgb(81, 91, 179)
HSLhsl(234, 39%, 51%)
HSVhsv(234, 55%, 70%)
CMYKcmyk(54.7%, 49.2%, 0%, 29.8%)
CIE-LABlab(41.98, 21.90, -48.18)
CIE-LCHlch(41.98, 52.92, 294.45°)
OKLaboklab(50.82% 0.0132 -0.1374)
OKLCHoklch(50.82% 0.138 275.5)
XYZxyz(15.2685, 12.4851, 44.2444)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515BB3 #B3A951
analogous
#518CB3 #515BB3 #7851B3
triadic
#515BB3 #B3515B #5BB351
tetradic
#515BB3 #B3518C #B3A951 #51B378
square
#515BB3 #B3518C #B3A951 #51B378
split-complementary
#515BB3 #B37851 #8CB351
monochromatic
#2A2F60 #3C448A #515BB3 #7C83C6 #A6ABD8

Accessibility & contrast

On white

6.00
#515BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#515BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515BB3
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515BB3#FFFFFF#000000##FFFFFF
##515BB31.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3167B6
Deuteranopia (green-blind)
#245FB1
Tritanopia (blue-blind)
#206F7E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #515bb3;
/* rgb */ color: rgb(81, 91, 179);
/* oklch */ color: oklch(50.8% 0.138 275.5);
Tailwind
colors: {
  custom: {
    50: '#8989ca',
    500: '#515bb3',
    950: '#000000',
  },
}
SCSS
$custom: #515bb3;
$custom-light: #8989ca;
$custom-dark: #000000;
JSON
{
  "hex": "#515bb3",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 179
  },
  "hsl": {
    "h": 233.878,
    "s": 39.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50821,
    "c": 0.13805,
    "h": 275.5
  },
  "luminance": 0.12486
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #515BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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