#505DD1#505DD1

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

Color values

HEX#505DD1
RGBrgb(80, 93, 209)
HSLhsl(234, 58%, 57%)
HSVhsv(234, 62%, 82%)
CMYKcmyk(61.7%, 55.5%, 0%, 18%)
CIE-LABlab(44.43, 30.49, -61.63)
CIE-LCHlch(44.43, 68.76, 296.32°)
OKLaboklab(53.28% 0.0121 -0.177)
OKLCHoklch(53.28% 0.177 273.9)
XYZxyz(18.7274, 14.1361, 62.0509)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505DD1 #D1C450
analogous
#509ED1 #505DD1 #8350D1
triadic
#505DD1 #D1505D #5DD150
tetradic
#505DD1 #D1509E #D1C450 #50D183
square
#505DD1 #D1509E #D1C450 #50D183
split-complementary
#505DD1 #D18350 #9ED150
monochromatic
#232C84 #2F3DB4 #505DD1 #808ADE #B1B7EA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##505DD1#FFFFFF#000000##FFFFFF
##505DD11.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)
#006FD5
Deuteranopia (green-blind)
#0064CF
Tritanopia (blue-blind)
#00798E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #505dd1;
/* rgb */ color: rgb(80, 93, 209);
/* oklch */ color: oklch(53.3% 0.177 273.9);
Tailwind
colors: {
  custom: {
    50: '#8d8ae0',
    500: '#505dd1',
    950: '#000000',
  },
}
SCSS
$custom: #505dd1;
$custom-light: #8d8ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#505dd1",
  "rgb": {
    "r": 80,
    "g": 93,
    "b": 209
  },
  "hsl": {
    "h": 233.953,
    "s": 58.371,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53284,
    "c": 0.17741,
    "h": 273.9
  },
  "luminance": 0.14138
}

Semantic roles & 50–950 ramp

primary
#505DD1
secondary
#D9D3A4
accent
#D246E2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #505DD1

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

Preview Lab → · Contrast checker → · Palette generator →

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