#505DA4#505DA4

#505DA4 is a mid, moderate blue. Relative luminance 0.122; OKLCH L 50.2% C 0.114 H 273.8°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#505DA4
RGBrgb(80, 93, 164)
HSLhsl(231, 34%, 48%)
HSVhsv(231, 51%, 64%)
CMYKcmyk(51.2%, 43.3%, 0%, 35.7%)
CIE-LABlab(41.55, 15.49, -40.01)
CIE-LCHlch(41.55, 42.90, 291.16°)
OKLaboklab(50.19% 0.0075 -0.1134)
OKLCHoklch(50.19% 0.114 273.8)
XYZxyz(13.9213, 12.2136, 36.7387)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505DA4 #A49750
analogous
#5087A4 #505DA4 #6D50A4
triadic
#505DA4 #A4505D #5DA450
tetradic
#505DA4 #A45087 #A49750 #50A46D
square
#505DA4 #A45087 #A49750 #50A46D
split-complementary
#505DA4 #A46D50 #87A450
monochromatic
#282E52 #3C467B #505DA4 #7580BC #9EA6D0

Accessibility & contrast

On white

6.10
#505DA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#505DA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505DA4
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505DA4#FFFFFF#000000##FFFFFF
##505DA41.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4066A7
Deuteranopia (green-blind)
#385FA2
Tritanopia (blue-blind)
#2D6C78
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #505da4;
/* rgb */ color: rgb(80, 93, 164);
/* oklch */ color: oklch(50.2% 0.114 273.8);
Tailwind
colors: {
  custom: {
    50: '#868abf',
    500: '#505da4',
    950: '#000000',
  },
}
SCSS
$custom: #505da4;
$custom-light: #868abf;
$custom-dark: #000000;
JSON
{
  "hex": "#505da4",
  "rgb": {
    "r": 80,
    "g": 93,
    "b": 164
  },
  "hsl": {
    "h": 230.714,
    "s": 34.426,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50191,
    "c": 0.1137,
    "h": 273.8
  },
  "luminance": 0.12215
}

Semantic roles & 50–950 ramp

primary
#505DA4
secondary
#BDB693
accent
#BA5DCB
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #505DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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