#504BBF#504BBF

#504BBF is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.6% C 0.176 H 279.5°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#504BBF
RGBrgb(80, 75, 191)
HSLhsl(243, 48%, 52%)
HSVhsv(243, 61%, 75%)
CMYKcmyk(58.1%, 60.7%, 0%, 25.1%)
CIE-LABlab(38.72, 35.68, -60.47)
CIE-LCHlch(38.72, 70.21, 300.54°)
OKLaboklab(48.64% 0.0291 -0.1737)
OKLCHoklch(48.64% 0.176 279.5)
XYZxyz(15.2253, 10.4982, 50.5042)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504BBF #BABF4B
analogous
#4B80BF #504BBF #8A4BBF
triadic
#504BBF #BF504B #4BBF50
tetradic
#504BBF #BF4B80 #BABF4B #4BBF8A
square
#504BBF #BF4B80 #BABF4B #4BBF8A
split-complementary
#504BBF #BF8A4B #80BF4B
monochromatic
#29266A #3A3697 #504BBF #7C78CF #A8A5DF

Accessibility & contrast

On white

6.77
#504BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#504BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504BBF
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504BBF#FFFFFF#000000##FFFFFF
##504BBF1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#0057BD
Tritanopia (blue-blind)
#07677E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #504bbf;
/* rgb */ color: rgb(80, 75, 191);
/* oklch */ color: oklch(48.6% 0.176 279.5);
Tailwind
colors: {
  custom: {
    50: '#8c7dd3',
    500: '#504bbf',
    950: '#000000',
  },
}
SCSS
$custom: #504bbf;
$custom-light: #8c7dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#504bbf",
  "rgb": {
    "r": 80,
    "g": 75,
    "b": 191
  },
  "hsl": {
    "h": 242.586,
    "s": 47.541,
    "l": 52.157
  },
  "oklch": {
    "l": 0.48638,
    "c": 0.17616,
    "h": 279.5
  },
  "luminance": 0.10499
}

Semantic roles & 50–950 ramp

primary
#504BBF
secondary
#CACC9A
accent
#D751D1
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #504BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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