#515EA3#515EA3

#515EA3 is a mid, moderate blue. Relative luminance 0.124; OKLCH L 50.4% C 0.111 H 273.7°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#515EA3
RGBrgb(81, 94, 163)
HSLhsl(230, 34%, 48%)
HSVhsv(230, 50%, 64%)
CMYKcmyk(50.3%, 42.3%, 0%, 36.1%)
CIE-LABlab(41.84, 14.77, -38.95)
CIE-LCHlch(41.84, 41.66, 290.77°)
OKLaboklab(50.41% 0.0072 -0.1103)
OKLCHoklch(50.41% 0.111 273.7)
XYZxyz(14.0048, 12.3982, 36.2984)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515EA3 #A39651
analogous
#5187A3 #515EA3 #6D51A3
triadic
#515EA3 #A3515E #5EA351
tetradic
#515EA3 #A35187 #A39651 #51A36D
square
#515EA3 #A35187 #A39651 #51A36D
split-complementary
#515EA3 #A36D51 #87A351
monochromatic
#282F51 #3D467A #515EA3 #7681BB #9FA7CF

Accessibility & contrast

On white

6.03
#515EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#515EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515EA3
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515EA3#FFFFFF#000000##FFFFFF
##515EA31.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4366A6
Deuteranopia (green-blind)
#3B5FA1
Tritanopia (blue-blind)
#306D78
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #515ea3;
/* rgb */ color: rgb(81, 94, 163);
/* oklch */ color: oklch(50.4% 0.111 273.7);
Tailwind
colors: {
  custom: {
    50: '#878bbe',
    500: '#515ea3',
    950: '#000000',
  },
}
SCSS
$custom: #515ea3;
$custom-light: #878bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#515ea3",
  "rgb": {
    "r": 81,
    "g": 94,
    "b": 163
  },
  "hsl": {
    "h": 230.488,
    "s": 33.607,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50412,
    "c": 0.11057,
    "h": 273.7
  },
  "luminance": 0.12399
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #515EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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