#515EA9#515EA9

#515EA9 is a mid, moderate blue. Relative luminance 0.126; OKLCH L 50.8% C 0.119 H 274.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#515EA9
RGBrgb(81, 94, 169)
HSLhsl(231, 35%, 49%)
HSVhsv(231, 52%, 66%)
CMYKcmyk(52.1%, 44.4%, 0%, 33.7%)
CIE-LABlab(42.18, 16.72, -41.96)
CIE-LCHlch(42.18, 45.17, 291.72°)
OKLaboklab(50.78% 0.0083 -0.1191)
OKLCHoklch(50.78% 0.119 274)
XYZxyz(14.5552, 12.6184, 39.1970)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515EA9 #A99C51
analogous
#518AA9 #515EA9 #7051A9
triadic
#515EA9 #A9515E #5EA951
tetradic
#515EA9 #A9518A #A99C51 #51A970
square
#515EA9 #A9518A #A99C51 #51A970
split-complementary
#515EA9 #A97051 #8AA951
monochromatic
#293056 #3D4780 #515EA9 #7983BF #A2A9D2

Accessibility & contrast

On white

5.96
#515EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#515EA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515EA9
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515EA9#FFFFFF#000000##FFFFFF
##515EA91.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F67AC
Deuteranopia (green-blind)
#3560A7
Tritanopia (blue-blind)
#2B6E7B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #515ea9;
/* rgb */ color: rgb(81, 94, 169);
/* oklch */ color: oklch(50.8% 0.119 274.0);
Tailwind
colors: {
  custom: {
    50: '#888bc3',
    500: '#515ea9',
    950: '#000000',
  },
}
SCSS
$custom: #515ea9;
$custom-light: #888bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#515ea9",
  "rgb": {
    "r": 81,
    "g": 94,
    "b": 169
  },
  "hsl": {
    "h": 231.136,
    "s": 35.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50782,
    "c": 0.11943,
    "h": 274
  },
  "luminance": 0.12619
}

Semantic roles & 50–950 ramp

primary
#515EA9
secondary
#C0BA96
accent
#BB5DCB
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #515EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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