#515FB0#515FB0

#515FB0 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.4% C 0.128 H 273.7°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#515FB0
RGBrgb(81, 95, 176)
HSLhsl(231, 38%, 50%)
HSVhsv(231, 54%, 69%)
CMYKcmyk(54%, 46%, 0%, 31%)
CIE-LABlab(42.86, 18.38, -44.99)
CIE-LCHlch(42.86, 48.60, 292.22°)
OKLaboklab(51.43% 0.0082 -0.128)
OKLCHoklch(51.43% 0.128 273.7)
XYZxyz(15.3195, 13.0673, 42.7809)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515FB0 #B0A251
analogous
#518EB0 #515FB0 #7251B0
triadic
#515FB0 #B0515F #5FB051
tetradic
#515FB0 #B0518E #B0A251 #51B072
square
#515FB0 #B0518E #B0A251 #51B072
split-complementary
#515FB0 #B07251 #8EB051
monochromatic
#2A315D #3D4887 #515FB0 #7B86C3 #A5ACD6

Accessibility & contrast

On white

5.81
#515FB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#515FB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515FB0
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515FB0#FFFFFF#000000##FFFFFF
##515FB01.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B69B3
Deuteranopia (green-blind)
#3061AE
Tritanopia (blue-blind)
#23717F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #515fb0;
/* rgb */ color: rgb(81, 95, 176);
/* oklch */ color: oklch(51.4% 0.128 273.7);
Tailwind
colors: {
  custom: {
    50: '#898cc8',
    500: '#515fb0',
    950: '#000000',
  },
}
SCSS
$custom: #515fb0;
$custom-light: #898cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#515fb0",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 176
  },
  "hsl": {
    "h": 231.158,
    "s": 37.549,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51435,
    "c": 0.1283,
    "h": 273.7
  },
  "luminance": 0.13068
}

Semantic roles & 50–950 ramp

primary
#515FB0
secondary
#C4BD99
accent
#BD5ACE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #515FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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