#505BA6#505BA6

#505BA6 is a mid, moderate blue. Relative luminance 0.119; OKLCH L 49.9% C 0.119 H 274.9°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#505BA6
RGBrgb(80, 91, 166)
HSLhsl(232, 35%, 48%)
HSVhsv(232, 52%, 65%)
CMYKcmyk(51.8%, 45.2%, 0%, 34.9%)
CIE-LABlab(41.12, 17.41, -41.88)
CIE-LCHlch(41.12, 45.36, 292.57°)
OKLaboklab(49.9% 0.0103 -0.119)
OKLCHoklch(49.9% 0.119 274.9)
XYZxyz(13.9301, 11.9399, 37.6396)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505BA6 #A69B50
analogous
#5086A6 #505BA6 #7050A6
triadic
#505BA6 #A6505B #5BA650
tetradic
#505BA6 #A65086 #A69B50 #50A670
square
#505BA6 #A65086 #A69B50 #50A670
split-complementary
#505BA6 #A67050 #86A650
monochromatic
#282E53 #3C447D #505BA6 #767FBD #9FA6D1

Accessibility & contrast

On white

6.20
#505BA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#505BA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505BA6
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505BA6#FFFFFF#000000##FFFFFF
##505BA61.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B65A9
Deuteranopia (green-blind)
#335EA4
Tritanopia (blue-blind)
#2B6B78
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #505ba6;
/* rgb */ color: rgb(80, 91, 166);
/* oklch */ color: oklch(49.9% 0.119 274.9);
Tailwind
colors: {
  custom: {
    50: '#8789c1',
    500: '#505ba6',
    950: '#000000',
  },
}
SCSS
$custom: #505ba6;
$custom-light: #8789c1;
$custom-dark: #000000;
JSON
{
  "hex": "#505ba6",
  "rgb": {
    "r": 80,
    "g": 91,
    "b": 166
  },
  "hsl": {
    "h": 232.326,
    "s": 34.959,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49898,
    "c": 0.1194,
    "h": 274.9
  },
  "luminance": 0.11941
}

Semantic roles & 50–950 ramp

primary
#505BA6
secondary
#BEB994
accent
#BD5DCB
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #505BA6

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

Preview Lab → · Contrast checker → · Palette generator →

#505BA6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva