#504BE6#504BE6

#504BE6 is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 52.0% C 0.226 H 276.5°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#504BE6
RGBrgb(80, 75, 230)
HSLhsl(242, 76%, 60%)
HSVhsv(242, 67%, 90%)
CMYKcmyk(65.2%, 67.4%, 0%, 9.8%)
CIE-LABlab(41.92, 48.24, -77.70)
CIE-LCHlch(41.92, 91.45, 301.84°)
OKLaboklab(51.96% 0.0256 -0.2243)
OKLCHoklch(51.96% 0.226 276.5)
XYZxyz(20.1026, 12.4491, 76.1911)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504BE6 #E1E64B
analogous
#4B94E6 #504BE6 #9D4BE6
triadic
#504BE6 #E6504B #4BE650
tetradic
#504BE6 #E64B94 #E1E64B #4BE69D
square
#504BE6 #E64B94 #E1E64B #4BE69D
split-complementary
#504BE6 #E69D4B #94E64B
monochromatic
#1B16A0 #241ED6 #504BE6 #8481ED #B8B6F5

Accessibility & contrast

On white

6.02
#504BE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#504BE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504BE6
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504BE6#FFFFFF#000000##FFFFFF
##504BE61.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEB
Deuteranopia (green-blind)
#005CE3
Tritanopia (blue-blind)
#007492
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #504be6;
/* rgb */ color: rgb(80, 75, 230);
/* oklch */ color: oklch(52.0% 0.226 276.5);
Tailwind
colors: {
  custom: {
    50: '#937eef',
    500: '#504be6',
    950: '#000000',
  },
}
SCSS
$custom: #504be6;
$custom-light: #937eef;
$custom-dark: #000000;
JSON
{
  "hex": "#504be6",
  "rgb": {
    "r": 80,
    "g": 75,
    "b": 230
  },
  "hsl": {
    "h": 241.935,
    "s": 75.61,
    "l": 59.804
  },
  "oklch": {
    "l": 0.51957,
    "c": 0.22574,
    "h": 276.5
  },
  "luminance": 0.12451
}

Semantic roles & 50–950 ramp

primary
#504BE6
secondary
#E2E4A8
accent
#F236EC
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #504BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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