#515EA4#515EA4

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

Color values

HEX#515EA4
RGBrgb(81, 94, 164)
HSLhsl(231, 34%, 48%)
HSVhsv(231, 51%, 64%)
CMYKcmyk(50.6%, 42.7%, 0%, 35.7%)
CIE-LABlab(41.90, 15.09, -39.45)
CIE-LCHlch(41.90, 42.24, 290.93°)
OKLaboklab(50.47% 0.0074 -0.1118)
OKLCHoklch(50.47% 0.112 273.8)
XYZxyz(14.0948, 12.4342, 36.7721)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515EA4 #A49751
analogous
#5188A4 #515EA4 #6D51A4
triadic
#515EA4 #A4515E #5EA451
tetradic
#515EA4 #A45188 #A49751 #51A46D
square
#515EA4 #A45188 #A49751 #51A46D
split-complementary
#515EA4 #A46D51 #88A451
monochromatic
#292F52 #3D477B #515EA4 #7781BC #A0A7D0

Accessibility & contrast

On white

6.02
#515EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #515EA4
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515EA4#FFFFFF#000000##FFFFFF
##515EA41.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4267A7
Deuteranopia (green-blind)
#3A60A2
Tritanopia (blue-blind)
#2F6D79
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #515ea4;
/* rgb */ color: rgb(81, 94, 164);
/* oklch */ color: oklch(50.5% 0.112 273.8);
Tailwind
colors: {
  custom: {
    50: '#878bbf',
    500: '#515ea4',
    950: '#000000',
  },
}
SCSS
$custom: #515ea4;
$custom-light: #878bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#515ea4",
  "rgb": {
    "r": 81,
    "g": 94,
    "b": 164
  },
  "hsl": {
    "h": 230.602,
    "s": 33.878,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50473,
    "c": 0.11204,
    "h": 273.8
  },
  "luminance": 0.12435
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #515EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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