#505693#505693

#505693 is a mid, moderate blue. Relative luminance 0.105; OKLCH L 47.7% C 0.098 H 277.7°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#505693
RGBrgb(80, 86, 147)
HSLhsl(235, 30%, 45%)
HSVhsv(235, 46%, 58%)
CMYKcmyk(45.6%, 41.5%, 0%, 42.4%)
CIE-LABlab(38.67, 14.50, -34.41)
CIE-LCHlch(38.67, 37.34, 292.85°)
OKLaboklab(47.68% 0.0132 -0.0971)
OKLCHoklch(47.68% 0.098 277.7)
XYZxyz(11.9009, 10.4670, 28.9914)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505693 #938D50
analogous
#507893 #505693 #6C5093
triadic
#505693 #935056 #569350
tetradic
#505693 #935078 #938D50 #50936C
square
#505693 #935078 #938D50 #50936C
split-complementary
#505693 #936C50 #789350
monochromatic
#252844 #3A3F6B #505693 #6F75B1 #979BC6

Accessibility & contrast

On white

6.79
#505693 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#505693 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505693
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505693#FFFFFF#000000##FFFFFF
##5056931.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5E95
Deuteranopia (green-blind)
#3B5992
Tritanopia (blue-blind)
#39626D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #505693;
/* rgb */ color: rgb(80, 86, 147);
/* oklch */ color: oklch(47.7% 0.098 277.7);
Tailwind
colors: {
  custom: {
    50: '#8585b3',
    500: '#505693',
    950: '#000000',
  },
}
SCSS
$custom: #505693;
$custom-light: #8585b3;
$custom-dark: #000000;
JSON
{
  "hex": "#505693",
  "rgb": {
    "r": 80,
    "g": 86,
    "b": 147
  },
  "hsl": {
    "h": 234.627,
    "s": 29.515,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47676,
    "c": 0.09802,
    "h": 277.7
  },
  "luminance": 0.10468
}

Semantic roles & 50–950 ramp

primary
#505693
secondary
#B3B08C
accent
#BD62C6
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #505693

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

Preview Lab → · Contrast checker → · Palette generator →

#505693 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva