#505BDD#505BDD

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

Color values

HEX#505BDD
RGBrgb(80, 91, 221)
HSLhsl(235, 67%, 59%)
HSVhsv(235, 64%, 87%)
CMYKcmyk(63.8%, 58.8%, 0%, 13.3%)
CIE-LABlab(44.81, 35.76, -67.86)
CIE-LCHlch(44.81, 76.71, 297.79°)
OKLaboklab(53.84% 0.014 -0.1953)
OKLCHoklch(53.84% 0.196 274.1)
XYZxyz(20.0962, 14.4064, 70.1143)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505BDD #DDD250
analogous
#50A2DD #505BDD #8C50DD
triadic
#505BDD #DD505B #5BDD50
tetradic
#505BDD #DD50A2 #DDD250 #50DD8C
square
#505BDD #DD50A2 #DDD250 #50DD8C
split-complementary
#505BDD #DD8C50 #A2DD50
monochromatic
#1D2696 #2734C9 #505BDD #838BE7 #B6BBF1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##505BDD#FFFFFF#000000##FFFFFF
##505BDD1.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)
#0070E1
Deuteranopia (green-blind)
#0064DA
Tritanopia (blue-blind)
#007B93
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #505bdd;
/* rgb */ color: rgb(80, 91, 221);
/* oklch */ color: oklch(53.8% 0.196 274.1);
Tailwind
colors: {
  custom: {
    50: '#9089e8',
    500: '#505bdd',
    950: '#000000',
  },
}
SCSS
$custom: #505bdd;
$custom-light: #9089e8;
$custom-dark: #000000;
JSON
{
  "hex": "#505bdd",
  "rgb": {
    "r": 80,
    "g": 91,
    "b": 221
  },
  "hsl": {
    "h": 235.319,
    "s": 67.464,
    "l": 59.02
  },
  "oklch": {
    "l": 0.53844,
    "c": 0.19585,
    "h": 274.1
  },
  "luminance": 0.14408
}

Semantic roles & 50–950 ramp

primary
#505BDD
secondary
#E0DCA9
accent
#DD3DEA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #505BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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