#505FD0#505FD0

#505FD0 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.6% C 0.174 H 273.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#505FD0
RGBrgb(80, 95, 208)
HSLhsl(233, 58%, 56%)
HSVhsv(233, 62%, 82%)
CMYKcmyk(61.5%, 54.3%, 0%, 18.4%)
CIE-LABlab(44.86, 28.90, -60.36)
CIE-LCHlch(44.86, 66.92, 295.59°)
OKLaboklab(53.59% 0.0102 -0.1732)
OKLCHoklch(53.59% 0.174 273.4)
XYZxyz(18.7819, 14.4424, 61.4602)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505FD0 #D0C150
analogous
#509FD0 #505FD0 #8150D0
triadic
#505FD0 #D0505F #5FD050
tetradic
#505FD0 #D0509F #D0C150 #50D081
square
#505FD0 #D0509F #D0C150 #50D081
split-complementary
#505FD0 #D08150 #9FD050
monochromatic
#232E83 #303FB3 #505FD0 #808BDD #B0B7EA

Accessibility & contrast

On white

5.40
#505FD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#505FD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505FD0
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505FD0#FFFFFF#000000##FFFFFF
##505FD01.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B70D4
Deuteranopia (green-blind)
#0065CE
Tritanopia (blue-blind)
#007A8E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #505fd0;
/* rgb */ color: rgb(80, 95, 208);
/* oklch */ color: oklch(53.6% 0.174 273.4);
Tailwind
colors: {
  custom: {
    50: '#8d8cdf',
    500: '#505fd0',
    950: '#000000',
  },
}
SCSS
$custom: #505fd0;
$custom-light: #8d8cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#505fd0",
  "rgb": {
    "r": 80,
    "g": 95,
    "b": 208
  },
  "hsl": {
    "h": 232.969,
    "s": 57.658,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53586,
    "c": 0.17353,
    "h": 273.4
  },
  "luminance": 0.14444
}

Semantic roles & 50–950 ramp

primary
#505FD0
secondary
#D8D2A4
accent
#CF47E1
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #505FD0

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

Preview Lab → · Contrast checker → · Palette generator →

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