#505BDC#505BDC

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

Color values

HEX#505BDC
RGBrgb(80, 91, 220)
HSLhsl(235, 67%, 59%)
HSVhsv(235, 64%, 86%)
CMYKcmyk(63.6%, 58.6%, 0%, 13.7%)
CIE-LABlab(44.74, 35.42, -67.42)
CIE-LCHlch(44.74, 76.16, 297.72°)
OKLaboklab(53.76% 0.014 -0.194)
OKLCHoklch(53.76% 0.195 274.1)
XYZxyz(19.9633, 14.3532, 69.4147)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505BDC #DCD150
analogous
#50A1DC #505BDC #8B50DC
triadic
#505BDC #DC505B #5BDC50
tetradic
#505BDC #DC50A1 #DCD150 #50DC8B
square
#505BDC #DC50A1 #DCD150 #50DC8B
split-complementary
#505BDC #DC8B50 #A1DC50
monochromatic
#1E2794 #2834C7 #505BDC #838BE6 #B6BBF0

Accessibility & contrast

On white

5.42
#505BDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#505BDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505BDC
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505BDC#FFFFFF#000000##FFFFFF
##505BDC1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E0
Deuteranopia (green-blind)
#0064D9
Tritanopia (blue-blind)
#007B93
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #505bdc;
/* rgb */ color: rgb(80, 91, 220);
/* oklch */ color: oklch(53.8% 0.195 274.1);
Tailwind
colors: {
  custom: {
    50: '#9089e8',
    500: '#505bdc',
    950: '#000000',
  },
}
SCSS
$custom: #505bdc;
$custom-light: #9089e8;
$custom-dark: #000000;
JSON
{
  "hex": "#505bdc",
  "rgb": {
    "r": 80,
    "g": 91,
    "b": 220
  },
  "hsl": {
    "h": 235.286,
    "s": 66.667,
    "l": 58.824
  },
  "oklch": {
    "l": 0.53765,
    "c": 0.19453,
    "h": 274.1
  },
  "luminance": 0.14355
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #505BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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