#515BA2#515BA2

#515BA2 is a mid, moderate blue. Relative luminance 0.118; OKLCH L 49.7% C 0.113 H 275.4°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#515BA2
RGBrgb(81, 91, 162)
HSLhsl(233, 33%, 48%)
HSVhsv(233, 50%, 64%)
CMYKcmyk(50%, 43.8%, 0%, 36.5%)
CIE-LABlab(40.96, 16.35, -39.76)
CIE-LCHlch(40.96, 42.99, 292.35°)
OKLaboklab(49.72% 0.0107 -0.1127)
OKLCHoklch(49.72% 0.113 275.4)
XYZxyz(13.6540, 11.8393, 35.7412)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515BA2 #A29851
analogous
#5183A2 #515BA2 #7051A2
triadic
#515BA2 #A2515B #5BA251
tetradic
#515BA2 #A25183 #A29851 #51A270
square
#515BA2 #A25183 #A29851 #51A270
split-complementary
#515BA2 #A27051 #83A251
monochromatic
#282D50 #3D4479 #515BA2 #767EBA #9FA5CF

Accessibility & contrast

On white

6.24
#515BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#515BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515BA2
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515BA2#FFFFFF#000000##FFFFFF
##515BA21.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E64A5
Deuteranopia (green-blind)
#375DA0
Tritanopia (blue-blind)
#316A76
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #515ba2;
/* rgb */ color: rgb(81, 91, 162);
/* oklch */ color: oklch(49.7% 0.113 275.4);
Tailwind
colors: {
  custom: {
    50: '#8789be',
    500: '#515ba2',
    950: '#000000',
  },
}
SCSS
$custom: #515ba2;
$custom-light: #8789be;
$custom-dark: #000000;
JSON
{
  "hex": "#515ba2",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 162
  },
  "hsl": {
    "h": 232.593,
    "s": 33.333,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49719,
    "c": 0.11323,
    "h": 275.4
  },
  "luminance": 0.1184
}

Semantic roles & 50–950 ramp

primary
#515BA2
secondary
#BCB793
accent
#BC5EC9
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #515BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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