#515DA2#515DA2

#515DA2 is a mid, moderate blue. Relative luminance 0.122; OKLCH L 50.1% C 0.110 H 274.3°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#515DA2
RGBrgb(81, 93, 162)
HSLhsl(231, 33%, 48%)
HSVhsv(231, 50%, 64%)
CMYKcmyk(50%, 42.6%, 0%, 36.5%)
CIE-LABlab(41.51, 15.08, -38.88)
CIE-LCHlch(41.51, 41.71, 291.20°)
OKLaboklab(50.14% 0.0083 -0.1101)
OKLCHoklch(50.14% 0.11 274.3)
XYZxyz(13.8272, 12.1858, 35.7989)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515DA2 #A29651
analogous
#5185A2 #515DA2 #6D51A2
triadic
#515DA2 #A2515D #5DA251
tetradic
#515DA2 #A25185 #A29651 #51A26D
square
#515DA2 #A25185 #A29651 #51A26D
split-complementary
#515DA2 #A26D51 #85A251
monochromatic
#282E50 #3D4679 #515DA2 #7680BA #9FA6CF

Accessibility & contrast

On white

6.11
#515DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#515DA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515DA2
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515DA2#FFFFFF#000000##FFFFFF
##515DA21.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4265A5
Deuteranopia (green-blind)
#3A5FA0
Tritanopia (blue-blind)
#316C77
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #515da2;
/* rgb */ color: rgb(81, 93, 162);
/* oklch */ color: oklch(50.1% 0.110 274.3);
Tailwind
colors: {
  custom: {
    50: '#878abe',
    500: '#515da2',
    950: '#000000',
  },
}
SCSS
$custom: #515da2;
$custom-light: #878abe;
$custom-dark: #000000;
JSON
{
  "hex": "#515da2",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 162
  },
  "hsl": {
    "h": 231.111,
    "s": 33.333,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50139,
    "c": 0.11045,
    "h": 274.3
  },
  "luminance": 0.12187
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #515DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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