#515EA5#515EA5

#515EA5 is a mid, moderate blue. Relative luminance 0.125; OKLCH L 50.5% C 0.114 H 273.8°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#515EA5
RGBrgb(81, 94, 165)
HSLhsl(231, 34%, 48%)
HSVhsv(231, 51%, 65%)
CMYKcmyk(50.9%, 43%, 0%, 35.3%)
CIE-LABlab(41.95, 15.42, -39.96)
CIE-LCHlch(41.95, 42.83, 291.10°)
OKLaboklab(50.53% 0.0076 -0.1133)
OKLCHoklch(50.53% 0.114 273.8)
XYZxyz(14.1854, 12.4705, 37.2496)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515EA5 #A59851
analogous
#5188A5 #515EA5 #6E51A5
triadic
#515EA5 #A5515E #5EA551
tetradic
#515EA5 #A55188 #A59851 #51A56E
square
#515EA5 #A55188 #A59851 #51A56E
split-complementary
#515EA5 #A56E51 #88A551
monochromatic
#292F53 #3D477C #515EA5 #7782BC #A0A8D0

Accessibility & contrast

On white

6.01
#515EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#515EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515EA5
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515EA5#FFFFFF#000000##FFFFFF
##515EA51.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4167A8
Deuteranopia (green-blind)
#3960A3
Tritanopia (blue-blind)
#2E6D79
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #515ea5;
/* rgb */ color: rgb(81, 94, 165);
/* oklch */ color: oklch(50.5% 0.114 273.8);
Tailwind
colors: {
  custom: {
    50: '#878bc0',
    500: '#515ea5',
    950: '#000000',
  },
}
SCSS
$custom: #515ea5;
$custom-light: #878bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#515ea5",
  "rgb": {
    "r": 81,
    "g": 94,
    "b": 165
  },
  "hsl": {
    "h": 230.714,
    "s": 34.146,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50534,
    "c": 0.11353,
    "h": 273.8
  },
  "luminance": 0.12471
}

Semantic roles & 50–950 ramp

primary
#515EA5
secondary
#BDB794
accent
#B95ECA
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #515EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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