#505DDD#505DDD

#505DDD is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.2% C 0.193 H 273.6°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#505DDD
RGBrgb(80, 93, 221)
HSLhsl(234, 67%, 59%)
HSVhsv(234, 64%, 87%)
CMYKcmyk(63.8%, 57.9%, 0%, 13.3%)
CIE-LABlab(45.29, 34.53, -67.08)
CIE-LCHlch(45.29, 75.44, 297.24°)
OKLaboklab(54.2% 0.0123 -0.193)
OKLCHoklch(54.2% 0.193 273.6)
XYZxyz(20.2694, 14.7529, 70.1720)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505DDD #DDD050
analogous
#50A4DD #505DDD #8A50DD
triadic
#505DDD #DD505D #5DDD50
tetradic
#505DDD #DD50A4 #DDD050 #50DD8A
square
#505DDD #DD50A4 #DDD050 #50DD8A
split-complementary
#505DDD #DD8A50 #A4DD50
monochromatic
#1D2896 #2736C9 #505DDD #838CE7 #B6BCF1

Accessibility & contrast

On white

5.32
#505DDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#505DDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505DDD
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505DDD#FFFFFF#000000##FFFFFF
##505DDD1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E1
Deuteranopia (green-blind)
#0065DA
Tritanopia (blue-blind)
#007C94
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #505ddd;
/* rgb */ color: rgb(80, 93, 221);
/* oklch */ color: oklch(54.2% 0.193 273.6);
Tailwind
colors: {
  custom: {
    50: '#908ae8',
    500: '#505ddd',
    950: '#000000',
  },
}
SCSS
$custom: #505ddd;
$custom-light: #908ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#505ddd",
  "rgb": {
    "r": 80,
    "g": 93,
    "b": 221
  },
  "hsl": {
    "h": 234.468,
    "s": 67.464,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54203,
    "c": 0.19341,
    "h": 273.6
  },
  "luminance": 0.14755
}

Semantic roles & 50–950 ramp

primary
#505DDD
secondary
#E0DBA9
accent
#DA3DEA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #505DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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