#505ADB#505ADB

#505ADB is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.5% C 0.194 H 274.4°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#505ADB
RGBrgb(80, 90, 219)
HSLhsl(236, 66%, 59%)
HSVhsv(236, 63%, 86%)
CMYKcmyk(63.5%, 58.9%, 0%, 14.1%)
CIE-LABlab(44.42, 35.70, -67.36)
CIE-LCHlch(44.42, 76.24, 297.93°)
OKLaboklab(53.51% 0.0149 -0.1939)
OKLCHoklch(53.51% 0.194 274.4)
XYZxyz(19.7464, 14.1306, 68.6910)
Luminance0.1413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505ADB #DBD150
analogous
#50A0DB #505ADB #8B50DB
triadic
#505ADB #DB505A #5ADB50
tetradic
#505ADB #DB50A0 #DBD150 #50DB8B
square
#505ADB #DB50A0 #DBD150 #50DB8B
split-complementary
#505ADB #DB8B50 #A0DB50
monochromatic
#1E2792 #2934C5 #505ADB #838AE5 #B6BAF0

Accessibility & contrast

On white

5.49
#505ADB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#505ADB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505ADB
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505ADB#FFFFFF#000000##FFFFFF
##505ADB1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDF
Deuteranopia (green-blind)
#0063D8
Tritanopia (blue-blind)
#007A92
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #505adb;
/* rgb */ color: rgb(80, 90, 219);
/* oklch */ color: oklch(53.5% 0.194 274.4);
Tailwind
colors: {
  custom: {
    50: '#8f88e7',
    500: '#505adb',
    950: '#000000',
  },
}
SCSS
$custom: #505adb;
$custom-light: #8f88e7;
$custom-dark: #000000;
JSON
{
  "hex": "#505adb",
  "rgb": {
    "r": 80,
    "g": 90,
    "b": 219
  },
  "hsl": {
    "h": 235.683,
    "s": 65.877,
    "l": 58.627
  },
  "oklch": {
    "l": 0.53508,
    "c": 0.19445,
    "h": 274.4
  },
  "luminance": 0.14132
}

Semantic roles & 50–950 ramp

primary
#505ADB
secondary
#DFDBA8
accent
#DD3FE9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #505ADB

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

Preview Lab → · Contrast checker → · Palette generator →

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