#505DC3#505DC3

#505DC3 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.3% C 0.158 H 274.1°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#505DC3
RGBrgb(80, 93, 195)
HSLhsl(233, 49%, 54%)
HSVhsv(233, 59%, 76%)
CMYKcmyk(59%, 52.3%, 0%, 23.5%)
CIE-LABlab(43.47, 25.77, -55.11)
CIE-LCHlch(43.47, 60.84, 295.06°)
OKLaboklab(52.26% 0.0114 -0.1578)
OKLCHoklch(52.26% 0.158 274.1)
XYZxyz(17.0697, 13.4730, 53.3202)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505DC3 #C3B650
analogous
#5097C3 #505DC3 #7D50C3
triadic
#505DC3 #C3505D #5DC350
tetradic
#505DC3 #C35097 #C3B650 #50C37D
square
#505DC3 #C35097 #C3B650 #50C37D
split-complementary
#505DC3 #C37D50 #97C350
monochromatic
#272F72 #37429F #505DC3 #7E87D3 #ABB1E2

Accessibility & contrast

On white

5.68
#505DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#505DC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505DC3
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505DC3#FFFFFF#000000##FFFFFF
##505DC31.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226CC7
Deuteranopia (green-blind)
#0062C1
Tritanopia (blue-blind)
#007487
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #505dc3;
/* rgb */ color: rgb(80, 93, 195);
/* oklch */ color: oklch(52.3% 0.158 274.1);
Tailwind
colors: {
  custom: {
    50: '#8b8ad6',
    500: '#505dc3',
    950: '#000000',
  },
}
SCSS
$custom: #505dc3;
$custom-light: #8b8ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#505dc3",
  "rgb": {
    "r": 80,
    "g": 93,
    "b": 195
  },
  "hsl": {
    "h": 233.217,
    "s": 48.936,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52259,
    "c": 0.15824,
    "h": 274.1
  },
  "luminance": 0.13474
}

Semantic roles & 50–950 ramp

primary
#505DC3
secondary
#D0CA9F
accent
#C94FD8
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #505DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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