#515AA2#515AA2

#515AA2 is a mid, moderate blue. Relative luminance 0.117; OKLCH L 49.5% C 0.115 H 276.0°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#515AA2
RGBrgb(81, 90, 162)
HSLhsl(233, 33%, 48%)
HSVhsv(233, 50%, 64%)
CMYKcmyk(50%, 44.4%, 0%, 36.5%)
CIE-LABlab(40.69, 16.98, -40.19)
CIE-LCHlch(40.69, 43.63, 292.91°)
OKLaboklab(49.51% 0.012 -0.114)
OKLCHoklch(49.51% 0.115 276)
XYZxyz(13.5691, 11.6695, 35.7129)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515AA2 #A29951
analogous
#5183A2 #515AA2 #7051A2
triadic
#515AA2 #A2515A #5AA251
tetradic
#515AA2 #A25183 #A29951 #51A270
square
#515AA2 #A25183 #A29951 #51A270
split-complementary
#515AA2 #A27051 #83A251
monochromatic
#282D50 #3D4379 #515AA2 #767DBA #9FA4CF

Accessibility & contrast

On white

6.30
#515AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#515AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515AA2
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515AA2#FFFFFF#000000##FFFFFF
##515AA21.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D63A5
Deuteranopia (green-blind)
#355DA0
Tritanopia (blue-blind)
#316976
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #515aa2;
/* rgb */ color: rgb(81, 90, 162);
/* oklch */ color: oklch(49.5% 0.115 276.0);
Tailwind
colors: {
  custom: {
    50: '#8788be',
    500: '#515aa2',
    950: '#000000',
  },
}
SCSS
$custom: #515aa2;
$custom-light: #8788be;
$custom-dark: #000000;
JSON
{
  "hex": "#515aa2",
  "rgb": {
    "r": 81,
    "g": 90,
    "b": 162
  },
  "hsl": {
    "h": 233.333,
    "s": 33.333,
    "l": 47.647
  },
  "oklch": {
    "l": 0.4951,
    "c": 0.11463,
    "h": 276
  },
  "luminance": 0.1167
}

Semantic roles & 50–950 ramp

primary
#515AA2
secondary
#BCB793
accent
#BE5EC9
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #515AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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