#515CAE#515CAE

#515CAE is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.7% C 0.129 H 275.1°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#515CAE
RGBrgb(81, 92, 174)
HSLhsl(233, 36%, 50%)
HSVhsv(233, 53%, 68%)
CMYKcmyk(53.4%, 47.1%, 0%, 31.8%)
CIE-LABlab(41.94, 19.62, -45.30)
CIE-LCHlch(41.94, 49.37, 293.42°)
OKLaboklab(50.69% 0.0114 -0.129)
OKLCHoklch(50.69% 0.129 275.1)
XYZxyz(14.8580, 12.4586, 41.6580)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515CAE #AEA351
analogous
#518BAE #515CAE #7451AE
triadic
#515CAE #AE515C #5CAE51
tetradic
#515CAE #AE518B #AEA351 #51AE74
square
#515CAE #AE518B #AEA351 #51AE74
split-complementary
#515CAE #AE7451 #8BAE51
monochromatic
#2A305A #3E4684 #515CAE #7B83C1 #A5AAD5

Accessibility & contrast

On white

6.01
#515CAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#515CAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515CAE
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515CAE#FFFFFF#000000##FFFFFF
##515CAE1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3767B1
Deuteranopia (green-blind)
#2D5FAC
Tritanopia (blue-blind)
#266E7C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #515cae;
/* rgb */ color: rgb(81, 92, 174);
/* oklch */ color: oklch(50.7% 0.129 275.1);
Tailwind
colors: {
  custom: {
    50: '#888ac7',
    500: '#515cae',
    950: '#000000',
  },
}
SCSS
$custom: #515cae;
$custom-light: #888ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#515cae",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 174
  },
  "hsl": {
    "h": 232.903,
    "s": 36.471,
    "l": 50
  },
  "oklch": {
    "l": 0.5069,
    "c": 0.12947,
    "h": 275.1
  },
  "luminance": 0.1246
}

Semantic roles & 50–950 ramp

primary
#515CAE
secondary
#C2BD99
accent
#BF5BCC
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #515CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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