#505DD2#505DD2

#505DD2 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.4% C 0.179 H 273.9°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#505DD2
RGBrgb(80, 93, 210)
HSLhsl(234, 59%, 57%)
HSVhsv(234, 62%, 82%)
CMYKcmyk(61.9%, 55.7%, 0%, 17.6%)
CIE-LABlab(44.50, 30.82, -62.09)
CIE-LCHlch(44.50, 69.32, 296.40°)
OKLaboklab(53.36% 0.0121 -0.1783)
OKLCHoklch(53.36% 0.179 273.9)
XYZxyz(18.8516, 14.1858, 62.7050)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505DD2 #D2C550
analogous
#509ED2 #505DD2 #8450D2
triadic
#505DD2 #D2505D #5DD250
tetradic
#505DD2 #D2509E #D2C550 #50D284
square
#505DD2 #D2509E #D2C550 #50D284
split-complementary
#505DD2 #D28450 #9ED250
monochromatic
#222C85 #2F3CB6 #505DD2 #818ADF #B1B7EB

Accessibility & contrast

On white

5.47
#505DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#505DD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505DD2
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505DD2#FFFFFF#000000##FFFFFF
##505DD21.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD6
Deuteranopia (green-blind)
#0064D0
Tritanopia (blue-blind)
#00798E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #505dd2;
/* rgb */ color: rgb(80, 93, 210);
/* oklch */ color: oklch(53.4% 0.179 273.9);
Tailwind
colors: {
  custom: {
    50: '#8e8ae1',
    500: '#505dd2',
    950: '#000000',
  },
}
SCSS
$custom: #505dd2;
$custom-light: #8e8ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#505dd2",
  "rgb": {
    "r": 80,
    "g": 93,
    "b": 210
  },
  "hsl": {
    "h": 234,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53359,
    "c": 0.17876,
    "h": 273.9
  },
  "luminance": 0.14187
}

Semantic roles & 50–950 ramp

primary
#505DD2
secondary
#D9D4A4
accent
#D346E2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #505DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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