#505FC0#505FC0

#505FC0 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.4% C 0.151 H 273.4°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#505FC0
RGBrgb(80, 95, 192)
HSLhsl(232, 47%, 53%)
HSVhsv(232, 58%, 75%)
CMYKcmyk(58.3%, 50.5%, 0%, 24.7%)
CIE-LABlab(43.79, 23.50, -52.85)
CIE-LCHlch(43.79, 57.84, 293.97°)
OKLaboklab(52.44% 0.0091 -0.1511)
OKLCHoklch(52.44% 0.151 273.4)
XYZxyz(16.9118, 13.6944, 51.6110)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505FC0 #C0B150
analogous
#5097C0 #505FC0 #7950C0
triadic
#505FC0 #C0505F #5FC050
tetradic
#505FC0 #C05097 #C0B150 #50C079
square
#505FC0 #C05097 #C0B150 #50C079
split-complementary
#505FC0 #C07950 #97C050
monochromatic
#28316E #38459B #505FC0 #7D88D0 #AAB1E0

Accessibility & contrast

On white

5.62
#505FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#505FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505FC0
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505FC0#FFFFFF#000000##FFFFFF
##505FC01.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6DC3
Deuteranopia (green-blind)
#1663BE
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #505fc0;
/* rgb */ color: rgb(80, 95, 192);
/* oklch */ color: oklch(52.4% 0.151 273.4);
Tailwind
colors: {
  custom: {
    50: '#8b8cd4',
    500: '#505fc0',
    950: '#000000',
  },
}
SCSS
$custom: #505fc0;
$custom-light: #8b8cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#505fc0",
  "rgb": {
    "r": 80,
    "g": 95,
    "b": 192
  },
  "hsl": {
    "h": 231.964,
    "s": 47.059,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5244,
    "c": 0.15142,
    "h": 273.4
  },
  "luminance": 0.13696
}

Semantic roles & 50–950 ramp

primary
#505FC0
secondary
#CEC89E
accent
#C551D7
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0D0C14
muted
#7D7D83

Preview Lab

Preview with #505FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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