#515FA0#515FA0

#515FA0 is a mid, moderate blue. Relative luminance 0.125; OKLCH L 50.4% C 0.105 H 272.9°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#515FA0
RGBrgb(81, 95, 160)
HSLhsl(229, 33%, 47%)
HSVhsv(229, 49%, 63%)
CMYKcmyk(49.4%, 40.6%, 0%, 37.3%)
CIE-LABlab(41.96, 13.17, -36.99)
CIE-LCHlch(41.96, 39.26, 289.60°)
OKLaboklab(50.44% 0.0054 -0.1046)
OKLCHoklch(50.44% 0.105 272.9)
XYZxyz(13.8287, 12.4710, 34.9293)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515FA0 #A09251
analogous
#5187A0 #515FA0 #6B51A0
triadic
#515FA0 #A0515F #5FA051
tetradic
#515FA0 #A05187 #A09251 #51A06B
square
#515FA0 #A05187 #A09251 #51A06B
split-complementary
#515FA0 #A06B51 #87A051
monochromatic
#282F4F #3C4777 #515FA0 #7581B9 #9EA6CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##515FA0#FFFFFF#000000##FFFFFF
##515FA01.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)
#4667A3
Deuteranopia (green-blind)
#3E609F
Tritanopia (blue-blind)
#326D78
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #515fa0;
/* rgb */ color: rgb(81, 95, 160);
/* oklch */ color: oklch(50.4% 0.105 272.9);
Tailwind
colors: {
  custom: {
    50: '#878cbc',
    500: '#515fa0',
    950: '#000000',
  },
}
SCSS
$custom: #515fa0;
$custom-light: #878cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#515fa0",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 160
  },
  "hsl": {
    "h": 229.367,
    "s": 32.78,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50444,
    "c": 0.10473,
    "h": 272.9
  },
  "luminance": 0.12472
}

Semantic roles & 50–950 ramp

primary
#515FA0
secondary
#BBB492
accent
#B65FC9
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #515FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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