#515AAA#515AAA

#515AAA is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.0% C 0.126 H 276.0°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#515AAA
RGBrgb(81, 90, 170)
HSLhsl(234, 35%, 49%)
HSVhsv(234, 52%, 67%)
CMYKcmyk(52.4%, 47.1%, 0%, 33.3%)
CIE-LABlab(41.16, 19.58, -44.19)
CIE-LCHlch(41.16, 48.33, 293.90°)
OKLaboklab(50.02% 0.0132 -0.1257)
OKLCHoklch(50.02% 0.126 276)
XYZxyz(14.3029, 11.9630, 39.5778)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515AAA #AAA151
analogous
#5187AA #515AAA #7551AA
triadic
#515AAA #AA515A #5AAA51
tetradic
#515AAA #AA5187 #AAA151 #51AA75
square
#515AAA #AA5187 #AAA151 #51AA75
split-complementary
#515AAA #AA7551 #87AA51
monochromatic
#2A2E57 #3D4481 #515AAA #7980BF #A2A7D3

Accessibility & contrast

On white

6.19
#515AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#515AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515AAA
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515AAA#FFFFFF#000000##FFFFFF
##515AAA1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3765AD
Deuteranopia (green-blind)
#2D5EA8
Tritanopia (blue-blind)
#2A6B7A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #515aaa;
/* rgb */ color: rgb(81, 90, 170);
/* oklch */ color: oklch(50.0% 0.126 276.0);
Tailwind
colors: {
  custom: {
    50: '#8888c4',
    500: '#515aaa',
    950: '#000000',
  },
}
SCSS
$custom: #515aaa;
$custom-light: #8888c4;
$custom-dark: #000000;
JSON
{
  "hex": "#515aaa",
  "rgb": {
    "r": 81,
    "g": 90,
    "b": 170
  },
  "hsl": {
    "h": 233.933,
    "s": 35.458,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50021,
    "c": 0.1264,
    "h": 276
  },
  "luminance": 0.11964
}

Semantic roles & 50–950 ramp

primary
#515AAA
secondary
#C0BC97
accent
#C05CCB
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #515AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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