#515BA5#515BA5

#515BA5 is a mid, moderate blue. Relative luminance 0.119; OKLCH L 49.9% C 0.118 H 275.5°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#515BA5
RGBrgb(81, 91, 165)
HSLhsl(233, 34%, 48%)
HSVhsv(233, 51%, 65%)
CMYKcmyk(50.9%, 44.8%, 0%, 35.3%)
CIE-LABlab(41.13, 17.32, -41.27)
CIE-LCHlch(41.13, 44.75, 292.77°)
OKLaboklab(49.91% 0.0113 -0.1171)
OKLCHoklch(49.91% 0.118 275.5)
XYZxyz(13.9238, 11.9473, 37.1624)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515BA5 #A59B51
analogous
#5185A5 #515BA5 #7151A5
triadic
#515BA5 #A5515B #5BA551
tetradic
#515BA5 #A55185 #A59B51 #51A571
square
#515BA5 #A55185 #A59B51 #51A571
split-complementary
#515BA5 #A57151 #85A551
monochromatic
#292E53 #3D447C #515BA5 #777FBC #A0A6D0

Accessibility & contrast

On white

6.20
#515BA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#515BA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515BA5
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515BA5#FFFFFF#000000##FFFFFF
##515BA51.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C65A8
Deuteranopia (green-blind)
#345EA3
Tritanopia (blue-blind)
#2F6B78
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #515ba5;
/* rgb */ color: rgb(81, 91, 165);
/* oklch */ color: oklch(49.9% 0.118 275.5);
Tailwind
colors: {
  custom: {
    50: '#8789c0',
    500: '#515ba5',
    950: '#000000',
  },
}
SCSS
$custom: #515ba5;
$custom-light: #8789c0;
$custom-dark: #000000;
JSON
{
  "hex": "#515ba5",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 165
  },
  "hsl": {
    "h": 232.857,
    "s": 34.146,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49906,
    "c": 0.11767,
    "h": 275.5
  },
  "luminance": 0.11948
}

Semantic roles & 50–950 ramp

primary
#515BA5
secondary
#BDB994
accent
#BD5ECA
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #515BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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