#515CAA#515CAA

#515CAA is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.4% C 0.124 H 275.0°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#515CAA
RGBrgb(81, 92, 170)
HSLhsl(233, 35%, 49%)
HSVhsv(233, 52%, 67%)
CMYKcmyk(52.4%, 45.9%, 0%, 33.3%)
CIE-LABlab(41.70, 18.31, -43.33)
CIE-LCHlch(41.70, 47.04, 292.91°)
OKLaboklab(50.43% 0.0108 -0.1232)
OKLCHoklch(50.43% 0.124 275)
XYZxyz(14.4739, 12.3050, 39.6348)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515CAA #AA9F51
analogous
#5189AA #515CAA #7351AA
triadic
#515CAA #AA515C #5CAA51
tetradic
#515CAA #AA5189 #AA9F51 #51AA73
square
#515CAA #AA5189 #AA9F51 #51AA73
split-complementary
#515CAA #AA7351 #89AA51
monochromatic
#2A2F57 #3D4681 #515CAA #7982BF #A2A8D3

Accessibility & contrast

On white

6.07
#515CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#515CAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515CAA
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515CAA#FFFFFF#000000##FFFFFF
##515CAA1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A66AD
Deuteranopia (green-blind)
#315FA8
Tritanopia (blue-blind)
#2A6D7B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #515caa;
/* rgb */ color: rgb(81, 92, 170);
/* oklch */ color: oklch(50.4% 0.124 275.0);
Tailwind
colors: {
  custom: {
    50: '#888ac4',
    500: '#515caa',
    950: '#000000',
  },
}
SCSS
$custom: #515caa;
$custom-light: #888ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#515caa",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 170
  },
  "hsl": {
    "h": 232.584,
    "s": 35.458,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50431,
    "c": 0.12365,
    "h": 275
  },
  "luminance": 0.12306
}

Semantic roles & 50–950 ramp

primary
#515CAA
secondary
#C0BB97
accent
#BE5CCB
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #515CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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