#505BB0#505BB0

#505BB0 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.5% C 0.134 H 275.0°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#505BB0
RGBrgb(80, 91, 176)
HSLhsl(233, 38%, 50%)
HSVhsv(233, 55%, 69%)
CMYKcmyk(54.5%, 48.3%, 0%, 31%)
CIE-LABlab(41.72, 20.70, -46.83)
CIE-LCHlch(41.72, 51.20, 293.85°)
OKLaboklab(50.55% 0.0117 -0.1335)
OKLCHoklch(50.55% 0.134 275)
XYZxyz(14.8833, 12.3212, 42.6598)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505BB0 #B0A550
analogous
#508BB0 #505BB0 #7550B0
triadic
#505BB0 #B0505B #5BB050
tetradic
#505BB0 #B0508B #B0A550 #50B075
square
#505BB0 #B0508B #B0A550 #50B075
split-complementary
#505BB0 #B07550 #8BB050
monochromatic
#2A2F5C #3D4586 #505BB0 #7A83C3 #A4AAD6

Accessibility & contrast

On white

6.06
#505BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#505BB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505BB0
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505BB0#FFFFFF#000000##FFFFFF
##505BB01.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3367B3
Deuteranopia (green-blind)
#275FAE
Tritanopia (blue-blind)
#216E7D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #505bb0;
/* rgb */ color: rgb(80, 91, 176);
/* oklch */ color: oklch(50.5% 0.134 275.0);
Tailwind
colors: {
  custom: {
    50: '#8889c8',
    500: '#505bb0',
    950: '#000000',
  },
}
SCSS
$custom: #505bb0;
$custom-light: #8889c8;
$custom-dark: #000000;
JSON
{
  "hex": "#505bb0",
  "rgb": {
    "r": 80,
    "g": 91,
    "b": 176
  },
  "hsl": {
    "h": 233.125,
    "s": 37.795,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5055,
    "c": 0.13399,
    "h": 275
  },
  "luminance": 0.12322
}

Semantic roles & 50–950 ramp

primary
#505BB0
secondary
#C3BE98
accent
#C05ACE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #505BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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