#505DDB#505DDB

#505DDB is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.0% C 0.191 H 273.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#505DDB
RGBrgb(80, 93, 219)
HSLhsl(234, 66%, 59%)
HSVhsv(234, 63%, 86%)
CMYKcmyk(63.5%, 57.5%, 0%, 14.1%)
CIE-LABlab(45.15, 33.85, -66.18)
CIE-LCHlch(45.15, 74.33, 297.09°)
OKLaboklab(54.05% 0.0123 -0.1904)
OKLCHoklch(54.05% 0.191 273.7)
XYZxyz(20.0046, 14.6469, 68.7770)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505DDB #DBCE50
analogous
#50A3DB #505DDB #8850DB
triadic
#505DDB #DB505D #5DDB50
tetradic
#505DDB #DB50A3 #DBCE50 #50DB88
square
#505DDB #DB50A3 #DBCE50 #50DB88
split-complementary
#505DDB #DB8850 #A3DB50
monochromatic
#1E2992 #2937C5 #505DDB #838CE5 #B6BBF0

Accessibility & contrast

On white

5.34
#505DDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#505DDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505DDB
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505DDB#FFFFFF#000000##FFFFFF
##505DDB1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#0065D8
Tritanopia (blue-blind)
#007C93
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #505ddb;
/* rgb */ color: rgb(80, 93, 219);
/* oklch */ color: oklch(54.0% 0.191 273.7);
Tailwind
colors: {
  custom: {
    50: '#8f8ae7',
    500: '#505ddb',
    950: '#000000',
  },
}
SCSS
$custom: #505ddb;
$custom-light: #8f8ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#505ddb",
  "rgb": {
    "r": 80,
    "g": 93,
    "b": 219
  },
  "hsl": {
    "h": 234.388,
    "s": 65.877,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54047,
    "c": 0.19078,
    "h": 273.7
  },
  "luminance": 0.14649
}

Semantic roles & 50–950 ramp

primary
#505DDB
secondary
#DFDAA8
accent
#D93FE9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #505DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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