#505DD0#505DD0

#505DD0 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.2% C 0.176 H 273.9°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#505DD0
RGBrgb(80, 93, 208)
HSLhsl(234, 58%, 56%)
HSVhsv(234, 62%, 82%)
CMYKcmyk(61.5%, 55.3%, 0%, 18.4%)
CIE-LABlab(44.36, 30.15, -61.17)
CIE-LCHlch(44.36, 68.20, 296.24°)
OKLaboklab(53.21% 0.0121 -0.1756)
OKLCHoklch(53.21% 0.176 273.9)
XYZxyz(18.6040, 14.0867, 61.4009)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505DD0 #D0C350
analogous
#509DD0 #505DD0 #8350D0
triadic
#505DD0 #D0505D #5DD050
tetradic
#505DD0 #D0509D #D0C350 #50D083
square
#505DD0 #D0509D #D0C350 #50D083
split-complementary
#505DD0 #D08350 #9DD050
monochromatic
#232D83 #303DB3 #505DD0 #808ADD #B0B6EA

Accessibility & contrast

On white

5.50
#505DD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#505DD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505DD0
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505DD0#FFFFFF#000000##FFFFFF
##505DD01.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD4
Deuteranopia (green-blind)
#0063CE
Tritanopia (blue-blind)
#00788D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #505dd0;
/* rgb */ color: rgb(80, 93, 208);
/* oklch */ color: oklch(53.2% 0.176 273.9);
Tailwind
colors: {
  custom: {
    50: '#8d8adf',
    500: '#505dd0',
    950: '#000000',
  },
}
SCSS
$custom: #505dd0;
$custom-light: #8d8adf;
$custom-dark: #000000;
JSON
{
  "hex": "#505dd0",
  "rgb": {
    "r": 80,
    "g": 93,
    "b": 208
  },
  "hsl": {
    "h": 233.906,
    "s": 57.658,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53209,
    "c": 0.17606,
    "h": 273.9
  },
  "luminance": 0.14088
}

Semantic roles & 50–950 ramp

primary
#505DD0
secondary
#D8D3A4
accent
#D147E1
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #505DD0

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

Preview Lab → · Contrast checker → · Palette generator →

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