#505DC6#505DC6

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

Color values

HEX#505DC6
RGBrgb(80, 93, 198)
HSLhsl(233, 51%, 55%)
HSVhsv(233, 60%, 78%)
CMYKcmyk(59.6%, 53%, 0%, 22.4%)
CIE-LABlab(43.67, 26.78, -56.52)
CIE-LCHlch(43.67, 62.55, 295.35°)
OKLaboklab(52.47% 0.0116 -0.162)
OKLCHoklch(52.47% 0.162 274.1)
XYZxyz(17.4123, 13.6100, 55.1246)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505DC6 #C6B950
analogous
#5098C6 #505DC6 #7E50C6
triadic
#505DC6 #C6505D #5DC650
tetradic
#505DC6 #C65098 #C6B950 #50C67E
square
#505DC6 #C65098 #C6B950 #50C67E
split-complementary
#505DC6 #C67E50 #98C650
monochromatic
#262F75 #3541A4 #505DC6 #7E88D5 #ACB2E4

Accessibility & contrast

On white

5.64
#505DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#505DC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505DC6
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505DC6#FFFFFF#000000##FFFFFF
##505DC61.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C6CCA
Deuteranopia (green-blind)
#0062C4
Tritanopia (blue-blind)
#007588
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #505dc6;
/* rgb */ color: rgb(80, 93, 198);
/* oklch */ color: oklch(52.5% 0.162 274.1);
Tailwind
colors: {
  custom: {
    50: '#8c8ad8',
    500: '#505dc6',
    950: '#000000',
  },
}
SCSS
$custom: #505dc6;
$custom-light: #8c8ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#505dc6",
  "rgb": {
    "r": 80,
    "g": 93,
    "b": 198
  },
  "hsl": {
    "h": 233.39,
    "s": 50.862,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52474,
    "c": 0.16239,
    "h": 274.1
  },
  "luminance": 0.13611
}

Semantic roles & 50–950 ramp

primary
#505DC6
secondary
#D2CCA0
accent
#CB4DDA
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #505DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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