#505DBD#505DBD

#505DBD is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.8% C 0.150 H 274.2°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#505DBD
RGBrgb(80, 93, 189)
HSLhsl(233, 45%, 53%)
HSVhsv(233, 58%, 74%)
CMYKcmyk(57.7%, 50.8%, 0%, 25.9%)
CIE-LABlab(43.07, 23.76, -52.26)
CIE-LCHlch(43.07, 57.41, 294.45°)
OKLaboklab(51.84% 0.0109 -0.1494)
OKLCHoklch(51.84% 0.15 274.2)
XYZxyz(16.4049, 13.2071, 49.8190)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505DBD #BDB050
analogous
#5093BD #505DBD #7950BD
triadic
#505DBD #BD505D #5DBD50
tetradic
#505DBD #BD5093 #BDB050 #50BD79
square
#505DBD #BD5093 #BDB050 #50BD79
split-complementary
#505DBD #BD7950 #93BD50
monochromatic
#28306A #394497 #505DBD #7C86CE #A9AFDF

Accessibility & contrast

On white

5.77
#505DBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#505DBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505DBD
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505DBD#FFFFFF#000000##FFFFFF
##505DBD1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6BC0
Deuteranopia (green-blind)
#1561BB
Tritanopia (blue-blind)
#047384
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #505dbd;
/* rgb */ color: rgb(80, 93, 189);
/* oklch */ color: oklch(51.8% 0.150 274.2);
Tailwind
colors: {
  custom: {
    50: '#8a8ad1',
    500: '#505dbd',
    950: '#000000',
  },
}
SCSS
$custom: #505dbd;
$custom-light: #8a8ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#505dbd",
  "rgb": {
    "r": 80,
    "g": 93,
    "b": 189
  },
  "hsl": {
    "h": 232.844,
    "s": 45.228,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51836,
    "c": 0.14984,
    "h": 274.2
  },
  "luminance": 0.13208
}

Semantic roles & 50–950 ramp

primary
#505DBD
secondary
#CCC69D
accent
#C553D5
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0D0B14
muted
#7D7C82

Preview Lab

Preview with #505DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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