#505EB0#505EB0

#505EB0 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.2% C 0.130 H 273.6°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#505EB0
RGBrgb(80, 94, 176)
HSLhsl(231, 38%, 50%)
HSVhsv(231, 55%, 69%)
CMYKcmyk(54.5%, 46.6%, 0%, 31%)
CIE-LABlab(42.53, 18.79, -45.54)
CIE-LCHlch(42.53, 49.26, 292.43°)
OKLaboklab(51.16% 0.0083 -0.1297)
OKLCHoklch(51.16% 0.13 273.6)
XYZxyz(15.1449, 12.8444, 42.7470)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505EB0 #B0A250
analogous
#508EB0 #505EB0 #7250B0
triadic
#505EB0 #B0505E #5EB050
tetradic
#505EB0 #B0508E #B0A250 #50B072
square
#505EB0 #B0508E #B0A250 #50B072
split-complementary
#505EB0 #B07250 #8EB050
monochromatic
#2A315C #3D4786 #505EB0 #7A85C3 #A4ACD6

Accessibility & contrast

On white

5.88
#505EB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#505EB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505EB0
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505EB0#FFFFFF#000000##FFFFFF
##505EB01.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3969B3
Deuteranopia (green-blind)
#2E61AE
Tritanopia (blue-blind)
#20707E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #505eb0;
/* rgb */ color: rgb(80, 94, 176);
/* oklch */ color: oklch(51.2% 0.130 273.6);
Tailwind
colors: {
  custom: {
    50: '#888bc8',
    500: '#505eb0',
    950: '#000000',
  },
}
SCSS
$custom: #505eb0;
$custom-light: #888bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#505eb0",
  "rgb": {
    "r": 80,
    "g": 94,
    "b": 176
  },
  "hsl": {
    "h": 231.25,
    "s": 37.795,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51162,
    "c": 0.12992,
    "h": 273.6
  },
  "luminance": 0.12845
}

Semantic roles & 50–950 ramp

primary
#505EB0
secondary
#C3BD98
accent
#BD5ACE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #505EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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