#505BC3#505BC3

#505BC3 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.9% C 0.161 H 274.8°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#505BC3
RGBrgb(80, 91, 195)
HSLhsl(234, 49%, 54%)
HSVhsv(234, 59%, 76%)
CMYKcmyk(59%, 53.3%, 0%, 23.5%)
CIE-LABlab(42.95, 27.03, -55.94)
CIE-LCHlch(42.95, 62.13, 295.79°)
OKLaboklab(51.87% 0.0134 -0.1603)
OKLCHoklch(51.87% 0.161 274.8)
XYZxyz(16.8965, 13.1265, 53.2625)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505BC3 #C3B850
analogous
#5095C3 #505BC3 #7F50C3
triadic
#505BC3 #C3505B #5BC350
tetradic
#505BC3 #C35095 #C3B850 #50C37F
square
#505BC3 #C35095 #C3B850 #50C37F
split-complementary
#505BC3 #C37F50 #95C350
monochromatic
#272E72 #37419F #505BC3 #7E86D3 #ABB0E2

Accessibility & contrast

On white

5.79
#505BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#505BC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505BC3
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505BC3#FFFFFF#000000##FFFFFF
##505BC31.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A6BC7
Deuteranopia (green-blind)
#0061C1
Tritanopia (blue-blind)
#007386
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #505bc3;
/* rgb */ color: rgb(80, 91, 195);
/* oklch */ color: oklch(51.9% 0.161 274.8);
Tailwind
colors: {
  custom: {
    50: '#8b89d6',
    500: '#505bc3',
    950: '#000000',
  },
}
SCSS
$custom: #505bc3;
$custom-light: #8b89d6;
$custom-dark: #000000;
JSON
{
  "hex": "#505bc3",
  "rgb": {
    "r": 80,
    "g": 91,
    "b": 195
  },
  "hsl": {
    "h": 234.261,
    "s": 48.936,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51873,
    "c": 0.16085,
    "h": 274.8
  },
  "luminance": 0.13128
}

Semantic roles & 50–950 ramp

primary
#505BC3
secondary
#D0CB9F
accent
#CB4FD8
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #505BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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