#515FB5#515FB5

#515FB5 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.8% C 0.136 H 273.8°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#515FB5
RGBrgb(81, 95, 181)
HSLhsl(232, 40%, 51%)
HSVhsv(232, 55%, 71%)
CMYKcmyk(55.2%, 47.5%, 0%, 29%)
CIE-LABlab(43.17, 20.03, -47.44)
CIE-LCHlch(43.17, 51.50, 292.89°)
OKLaboklab(51.76% 0.0089 -0.1352)
OKLCHoklch(51.76% 0.136 273.8)
XYZxyz(15.8233, 13.2688, 45.4344)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515FB5 #B5A751
analogous
#5191B5 #515FB5 #7551B5
triadic
#515FB5 #B5515F #5FB551
tetradic
#515FB5 #B55191 #B5A751 #51B575
square
#515FB5 #B55191 #B5A751 #51B575
split-complementary
#515FB5 #B57551 #91B551
monochromatic
#2A3262 #3C478D #515FB5 #7C86C7 #A7AEDA

Accessibility & contrast

On white

5.75
#515FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#515FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515FB5
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515FB5#FFFFFF#000000##FFFFFF
##515FB51.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376AB8
Deuteranopia (green-blind)
#2A62B3
Tritanopia (blue-blind)
#1C7281
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #515fb5;
/* rgb */ color: rgb(81, 95, 181);
/* oklch */ color: oklch(51.8% 0.136 273.8);
Tailwind
colors: {
  custom: {
    50: '#898ccc',
    500: '#515fb5',
    950: '#000000',
  },
}
SCSS
$custom: #515fb5;
$custom-light: #898ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#515fb5",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 181
  },
  "hsl": {
    "h": 231.6,
    "s": 40.323,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51761,
    "c": 0.13552,
    "h": 273.8
  },
  "luminance": 0.1327
}

Semantic roles & 50–950 ramp

primary
#515FB5
secondary
#C7C19B
accent
#BF58D0
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #515FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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