#515CA2#515CA2

#515CA2 is a mid, moderate blue. Relative luminance 0.120; OKLCH L 49.9% C 0.112 H 274.9°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#515CA2
RGBrgb(81, 92, 162)
HSLhsl(232, 33%, 48%)
HSVhsv(232, 50%, 64%)
CMYKcmyk(50%, 43.2%, 0%, 36.5%)
CIE-LABlab(41.23, 15.71, -39.32)
CIE-LCHlch(41.23, 42.34, 291.78°)
OKLaboklab(49.93% 0.0095 -0.1114)
OKLCHoklch(49.93% 0.112 274.9)
XYZxyz(13.7400, 12.0114, 35.7698)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515CA2 #A29751
analogous
#5184A2 #515CA2 #6F51A2
triadic
#515CA2 #A2515C #5CA251
tetradic
#515CA2 #A25184 #A29751 #51A26F
square
#515CA2 #A25184 #A29751 #51A26F
split-complementary
#515CA2 #A26F51 #84A251
monochromatic
#282E50 #3D4579 #515CA2 #767FBA #9FA5CF

Accessibility & contrast

On white

6.17
#515CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#515CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515CA2
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515CA2#FFFFFF#000000##FFFFFF
##515CA21.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4065A5
Deuteranopia (green-blind)
#385EA0
Tritanopia (blue-blind)
#316B77
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #515ca2;
/* rgb */ color: rgb(81, 92, 162);
/* oklch */ color: oklch(49.9% 0.112 274.9);
Tailwind
colors: {
  custom: {
    50: '#878abe',
    500: '#515ca2',
    950: '#000000',
  },
}
SCSS
$custom: #515ca2;
$custom-light: #878abe;
$custom-dark: #000000;
JSON
{
  "hex": "#515ca2",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 162
  },
  "hsl": {
    "h": 231.852,
    "s": 33.333,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49928,
    "c": 0.11184,
    "h": 274.9
  },
  "luminance": 0.12012
}

Semantic roles & 50–950 ramp

primary
#515CA2
secondary
#BCB693
accent
#BB5EC9
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #515CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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