#505DA2#505DA2

#505DA2 is a mid, moderate blue. Relative luminance 0.121; OKLCH L 50.1% C 0.111 H 273.7°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#505DA2
RGBrgb(80, 93, 162)
HSLhsl(230, 34%, 47%)
HSVhsv(230, 51%, 64%)
CMYKcmyk(50.6%, 42.6%, 0%, 36.5%)
CIE-LABlab(41.44, 14.84, -39.00)
CIE-LCHlch(41.44, 41.72, 290.83°)
OKLaboklab(50.07% 0.0071 -0.1105)
OKLCHoklch(50.07% 0.111 273.7)
XYZxyz(13.7421, 12.1420, 35.7949)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505DA2 #A29550
analogous
#5086A2 #505DA2 #6C50A2
triadic
#505DA2 #A2505D #5DA250
tetradic
#505DA2 #A25086 #A29550 #50A26C
square
#505DA2 #A25086 #A29550 #50A26C
split-complementary
#505DA2 #A26C50 #86A250
monochromatic
#282E50 #3C4579 #505DA2 #7580BB #9EA5CF

Accessibility & contrast

On white

6.12
#505DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#505DA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505DA2
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505DA2#FFFFFF#000000##FFFFFF
##505DA21.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4165A5
Deuteranopia (green-blind)
#395FA0
Tritanopia (blue-blind)
#2E6C77
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #505da2;
/* rgb */ color: rgb(80, 93, 162);
/* oklch */ color: oklch(50.1% 0.111 273.7);
Tailwind
colors: {
  custom: {
    50: '#868abe',
    500: '#505da2',
    950: '#000000',
  },
}
SCSS
$custom: #505da2;
$custom-light: #868abe;
$custom-dark: #000000;
JSON
{
  "hex": "#505da2",
  "rgb": {
    "r": 80,
    "g": 93,
    "b": 162
  },
  "hsl": {
    "h": 230.488,
    "s": 33.884,
    "l": 47.451
  },
  "oklch": {
    "l": 0.50068,
    "c": 0.11073,
    "h": 273.7
  },
  "luminance": 0.12143
}

Semantic roles & 50–950 ramp

primary
#505DA2
secondary
#BCB592
accent
#B95ECA
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #505DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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