#504BCE#504BCE

#504BCE is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.9% C 0.196 H 278.3°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#504BCE
RGBrgb(80, 75, 206)
HSLhsl(242, 57%, 55%)
HSVhsv(242, 64%, 81%)
CMYKcmyk(61.2%, 63.6%, 0%, 19.2%)
CIE-LABlab(39.90, 40.54, -67.26)
CIE-LCHlch(39.90, 78.53, 301.08°)
OKLaboklab(49.87% 0.0282 -0.1937)
OKLCHoklch(49.87% 0.196 278.3)
XYZxyz(16.9613, 11.1926, 59.6471)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504BCE #C9CE4B
analogous
#4B88CE #504BCE #914BCE
triadic
#504BCE #CE504B #4BCE50
tetradic
#504BCE #CE4B88 #C9CE4B #4BCE91
square
#504BCE #CE4B88 #C9CE4B #4BCE91
split-complementary
#504BCE #CE914B #88CE4B
monochromatic
#25227D #342FAD #504BCE #7F7BDB #AEABE8

Accessibility & contrast

On white

6.48
#504BCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#504BCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504BCE
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504BCE#FFFFFF#000000##FFFFFF
##504BCE1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D2
Deuteranopia (green-blind)
#0059CB
Tritanopia (blue-blind)
#006C86
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #504bce;
/* rgb */ color: rgb(80, 75, 206);
/* oklch */ color: oklch(49.9% 0.196 278.3);
Tailwind
colors: {
  custom: {
    50: '#8e7ede',
    500: '#504bce',
    950: '#000000',
  },
}
SCSS
$custom: #504bce;
$custom-light: #8e7ede;
$custom-dark: #000000;
JSON
{
  "hex": "#504bce",
  "rgb": {
    "r": 80,
    "g": 75,
    "b": 206
  },
  "hsl": {
    "h": 242.29,
    "s": 57.205,
    "l": 55.098
  },
  "oklch": {
    "l": 0.49871,
    "c": 0.19573,
    "h": 278.3
  },
  "luminance": 0.11194
}

Semantic roles & 50–950 ramp

primary
#504BCE
secondary
#D4D69F
accent
#E047DB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #504BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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