#515DA5#515DA5

#515DA5 is a mid, moderate blue. Relative luminance 0.123; OKLCH L 50.3% C 0.115 H 274.4°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#515DA5
RGBrgb(81, 93, 165)
HSLhsl(231, 34%, 48%)
HSVhsv(231, 51%, 65%)
CMYKcmyk(50.9%, 43.6%, 0%, 35.3%)
CIE-LABlab(41.68, 16.05, -40.39)
CIE-LCHlch(41.68, 43.47, 291.67°)
OKLaboklab(50.32% 0.0088 -0.1146)
OKLCHoklch(50.32% 0.115 274.4)
XYZxyz(14.0971, 12.2938, 37.2201)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515DA5 #A59951
analogous
#5187A5 #515DA5 #6F51A5
triadic
#515DA5 #A5515D #5DA551
tetradic
#515DA5 #A55187 #A59951 #51A56F
square
#515DA5 #A55187 #A59951 #51A56F
split-complementary
#515DA5 #A56F51 #87A551
monochromatic
#292F53 #3D467C #515DA5 #7781BC #A0A7D0

Accessibility & contrast

On white

6.07
#515DA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#515DA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515DA5
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515DA5#FFFFFF#000000##FFFFFF
##515DA51.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4066A8
Deuteranopia (green-blind)
#375FA3
Tritanopia (blue-blind)
#2E6C79
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #515da5;
/* rgb */ color: rgb(81, 93, 165);
/* oklch */ color: oklch(50.3% 0.115 274.4);
Tailwind
colors: {
  custom: {
    50: '#878ac0',
    500: '#515da5',
    950: '#000000',
  },
}
SCSS
$custom: #515da5;
$custom-light: #878ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#515da5",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 165
  },
  "hsl": {
    "h": 231.429,
    "s": 34.146,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50324,
    "c": 0.1149,
    "h": 274.4
  },
  "luminance": 0.12295
}

Semantic roles & 50–950 ramp

primary
#515DA5
secondary
#BDB894
accent
#BB5ECA
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #515DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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