#505293#505293

#505293 is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.8% C 0.104 H 280.3°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#505293
RGBrgb(80, 82, 147)
HSLhsl(238, 30%, 45%)
HSVhsv(238, 46%, 58%)
CMYKcmyk(45.6%, 44.2%, 0%, 42.4%)
CIE-LABlab(37.56, 17.06, -36.16)
CIE-LCHlch(37.56, 39.98, 295.26°)
OKLaboklab(46.83% 0.0185 -0.1023)
OKLCHoklch(46.83% 0.104 280.3)
XYZxyz(11.5904, 9.8461, 28.8879)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505293 #939150
analogous
#507493 #505293 #705093
triadic
#505293 #935052 #529350
tetradic
#505293 #935074 #939150 #509370
square
#505293 #935074 #939150 #509370
split-complementary
#505293 #937050 #749350
monochromatic
#252644 #3A3C6B #505293 #6F71B1 #9798C6

Accessibility & contrast

On white

7.07
#505293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#505293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #505293
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505293#FFFFFF#000000##FFFFFF
##5052931.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395B95
Deuteranopia (green-blind)
#355692
Tritanopia (blue-blind)
#3A5F6B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #505293;
/* rgb */ color: rgb(80, 82, 147);
/* oklch */ color: oklch(46.8% 0.104 280.3);
Tailwind
colors: {
  custom: {
    50: '#8582b3',
    500: '#505293',
    950: '#000000',
  },
}
SCSS
$custom: #505293;
$custom-light: #8582b3;
$custom-dark: #000000;
JSON
{
  "hex": "#505293",
  "rgb": {
    "r": 80,
    "g": 82,
    "b": 147
  },
  "hsl": {
    "h": 238.209,
    "s": 29.515,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46834,
    "c": 0.10393,
    "h": 280.3
  },
  "luminance": 0.09847
}

Semantic roles & 50–950 ramp

primary
#505293
secondary
#B3B28C
accent
#C362C6
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #505293

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

Preview Lab → · Contrast checker → · Palette generator →

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