#505DB3#505DB3

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

Color values

HEX#505DB3
RGBrgb(80, 93, 179)
HSLhsl(232, 39%, 51%)
HSVhsv(232, 55%, 70%)
CMYKcmyk(55.3%, 48%, 0%, 29.8%)
CIE-LABlab(42.44, 20.42, -47.44)
CIE-LCHlch(42.44, 51.64, 293.29°)
OKLaboklab(51.15% 0.0098 -0.1352)
OKLCHoklch(51.15% 0.136 274.1)
XYZxyz(15.3567, 12.7878, 44.2981)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505DB3 #B3A650
analogous
#508EB3 #505DB3 #7450B3
triadic
#505DB3 #B3505D #5DB350
tetradic
#505DB3 #B3508E #B3A650 #50B374
square
#505DB3 #B3508E #B3A650 #50B374
split-complementary
#505DB3 #B37450 #8EB350
monochromatic
#29305F #3C468A #505DB3 #7B84C6 #A5ACD8

Accessibility & contrast

On white

5.90
#505DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#505DB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505DB3
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505DB3#FFFFFF#000000##FFFFFF
##505DB31.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3569B6
Deuteranopia (green-blind)
#2860B1
Tritanopia (blue-blind)
#1C707F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #505db3;
/* rgb */ color: rgb(80, 93, 179);
/* oklch */ color: oklch(51.2% 0.136 274.1);
Tailwind
colors: {
  custom: {
    50: '#898aca',
    500: '#505db3',
    950: '#000000',
  },
}
SCSS
$custom: #505db3;
$custom-light: #898aca;
$custom-dark: #000000;
JSON
{
  "hex": "#505db3",
  "rgb": {
    "r": 80,
    "g": 93,
    "b": 179
  },
  "hsl": {
    "h": 232.121,
    "s": 39.442,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51155,
    "c": 0.1356,
    "h": 274.1
  },
  "luminance": 0.12789
}

Semantic roles & 50–950 ramp

primary
#505DB3
secondary
#C5C099
accent
#C058CF
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #505DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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