#504BB3#504BB3

#504BB3 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.7% C 0.160 H 280.6°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#504BB3
RGBrgb(80, 75, 179)
HSLhsl(243, 41%, 50%)
HSVhsv(243, 58%, 70%)
CMYKcmyk(55.3%, 58.1%, 0%, 29.8%)
CIE-LABlab(37.83, 31.78, -54.87)
CIE-LCHlch(37.83, 63.41, 300.08°)
OKLaboklab(47.7% 0.0294 -0.1573)
OKLCHoklch(47.7% 0.16 280.6)
XYZxyz(13.9585, 9.9914, 43.8321)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504BB3 #AEB34B
analogous
#4B7AB3 #504BB3 #844BB3
triadic
#504BB3 #B3504B #4BB350
tetradic
#504BB3 #B34B7A #AEB34B #4BB384
square
#504BB3 #B34B7A #AEB34B #4BB384
split-complementary
#504BB3 #B3844B #7AB34B
monochromatic
#29275D #3D3988 #504BB3 #7A76C5 #A3A1D8

Accessibility & contrast

On white

7.00
#504BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#504BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504BB3
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504BB3#FFFFFF#000000##FFFFFF
##504BB31.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#0055B1
Tritanopia (blue-blind)
#206377
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #504bb3;
/* rgb */ color: rgb(80, 75, 179);
/* oklch */ color: oklch(47.7% 0.160 280.6);
Tailwind
colors: {
  custom: {
    50: '#8a7dca',
    500: '#504bb3',
    950: '#000000',
  },
}
SCSS
$custom: #504bb3;
$custom-light: #8a7dca;
$custom-dark: #000000;
JSON
{
  "hex": "#504bb3",
  "rgb": {
    "r": 80,
    "g": 75,
    "b": 179
  },
  "hsl": {
    "h": 242.885,
    "s": 40.945,
    "l": 49.804
  },
  "oklch": {
    "l": 0.47696,
    "c": 0.16,
    "h": 280.6
  },
  "luminance": 0.09992
}

Semantic roles & 50–950 ramp

primary
#504BB3
secondary
#C2C495
accent
#D157CB
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #504BB3

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

Preview Lab → · Contrast checker → · Palette generator →

#504BB3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva