#505E95#505E95

#505E95 is a mid, moderate blue. Relative luminance 0.119; OKLCH L 49.5% C 0.090 H 271.9°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#505E95
RGBrgb(80, 94, 149)
HSLhsl(228, 30%, 45%)
HSVhsv(228, 46%, 58%)
CMYKcmyk(46.3%, 36.9%, 0%, 41.6%)
CIE-LABlab(41.02, 10.05, -31.90)
CIE-LCHlch(41.02, 33.44, 287.49°)
OKLaboklab(49.52% 0.003 -0.0898)
OKLCHoklch(49.52% 0.09 271.9)
XYZxyz(12.7341, 11.8801, 30.0500)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505E95 #958750
analogous
#508195 #505E95 #645095
triadic
#505E95 #95505E #5E9550
tetradic
#505E95 #955081 #958750 #509564
square
#505E95 #955081 #958750 #509564
split-complementary
#505E95 #956450 #819550
monochromatic
#252C45 #3B456D #505E95 #707DB2 #98A2C8

Accessibility & contrast

On white

6.22
#505E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#505E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505E95
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505E95#FFFFFF#000000##FFFFFF
##505E951.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6497
Deuteranopia (green-blind)
#445E94
Tritanopia (blue-blind)
#376972
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #505e95;
/* rgb */ color: rgb(80, 94, 149);
/* oklch */ color: oklch(49.5% 0.090 271.9);
Tailwind
colors: {
  custom: {
    50: '#858bb4',
    500: '#505e95',
    950: '#000000',
  },
}
SCSS
$custom: #505e95;
$custom-light: #858bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#505e95",
  "rgb": {
    "r": 80,
    "g": 94,
    "b": 149
  },
  "hsl": {
    "h": 227.826,
    "s": 30.131,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49521,
    "c": 0.08981,
    "h": 271.9
  },
  "luminance": 0.11881
}

Semantic roles & 50–950 ramp

primary
#505E95
secondary
#B4AC8C
accent
#B261C6
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0B0C11
muted
#7C7D80

Preview Lab

Preview with #505E95

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

Preview Lab → · Contrast checker → · Palette generator →

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