#515EA1#515EA1

#515EA1 is a mid, moderate blue. Relative luminance 0.123; OKLCH L 50.3% C 0.108 H 273.6°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#515EA1
RGBrgb(81, 94, 161)
HSLhsl(230, 33%, 47%)
HSVhsv(230, 50%, 63%)
CMYKcmyk(49.7%, 41.6%, 0%, 36.9%)
CIE-LABlab(41.73, 14.12, -37.94)
CIE-LCHlch(41.73, 40.48, 290.42°)
OKLaboklab(50.29% 0.0068 -0.1074)
OKLCHoklch(50.29% 0.108 273.6)
XYZxyz(13.8270, 12.3271, 35.3621)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515EA1 #A19451
analogous
#5186A1 #515EA1 #6C51A1
triadic
#515EA1 #A1515E #5EA151
tetradic
#515EA1 #A15186 #A19451 #51A16C
square
#515EA1 #A15186 #A19451 #51A16C
split-complementary
#515EA1 #A16C51 #86A151
monochromatic
#282E50 #3D4678 #515EA1 #7581BA #9EA6CE

Accessibility & contrast

On white

6.06
#515EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#515EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515EA1
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515EA1#FFFFFF#000000##FFFFFF
##515EA11.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4466A4
Deuteranopia (green-blind)
#3C5FA0
Tritanopia (blue-blind)
#316C77
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #515ea1;
/* rgb */ color: rgb(81, 94, 161);
/* oklch */ color: oklch(50.3% 0.108 273.6);
Tailwind
colors: {
  custom: {
    50: '#878bbd',
    500: '#515ea1',
    950: '#000000',
  },
}
SCSS
$custom: #515ea1;
$custom-light: #878bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#515ea1",
  "rgb": {
    "r": 81,
    "g": 94,
    "b": 161
  },
  "hsl": {
    "h": 230.25,
    "s": 33.058,
    "l": 47.451
  },
  "oklch": {
    "l": 0.50291,
    "c": 0.10759,
    "h": 273.6
  },
  "luminance": 0.12328
}

Semantic roles & 50–950 ramp

primary
#515EA1
secondary
#BBB593
accent
#B85FC9
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #515EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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