#505CDA#505CDA

#505CDA is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.8% C 0.191 H 274.0°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#505CDA
RGBrgb(80, 92, 218)
HSLhsl(235, 65%, 58%)
HSVhsv(235, 63%, 85%)
CMYKcmyk(63.3%, 57.8%, 0%, 14.5%)
CIE-LABlab(44.83, 34.14, -66.12)
CIE-LCHlch(44.83, 74.41, 297.30°)
OKLaboklab(53.79% 0.0132 -0.1902)
OKLCHoklch(53.79% 0.191 274)
XYZxyz(19.7861, 14.4200, 68.0567)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505CDA #DACE50
analogous
#50A1DA #505CDA #8950DA
triadic
#505CDA #DA505C #5CDA50
tetradic
#505CDA #DA50A1 #DACE50 #50DA89
square
#505CDA #DA50A1 #DACE50 #50DA89
split-complementary
#505CDA #DA8950 #A1DA50
monochromatic
#1F2991 #2937C3 #505CDA #838BE5 #B5BAEF

Accessibility & contrast

On white

5.41
#505CDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#505CDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505CDA
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505CDA#FFFFFF#000000##FFFFFF
##505CDA1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DE
Deuteranopia (green-blind)
#0064D7
Tritanopia (blue-blind)
#007B92
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #505cda;
/* rgb */ color: rgb(80, 92, 218);
/* oklch */ color: oklch(53.8% 0.191 274.0);
Tailwind
colors: {
  custom: {
    50: '#8f8ae6',
    500: '#505cda',
    950: '#000000',
  },
}
SCSS
$custom: #505cda;
$custom-light: #8f8ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#505cda",
  "rgb": {
    "r": 80,
    "g": 92,
    "b": 218
  },
  "hsl": {
    "h": 234.783,
    "s": 65.094,
    "l": 58.431
  },
  "oklch": {
    "l": 0.53788,
    "c": 0.19068,
    "h": 274
  },
  "luminance": 0.14422
}

Semantic roles & 50–950 ramp

primary
#505CDA
secondary
#DEDAA8
accent
#D940E8
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #505CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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