#504BCA#504BCA

#504BCA is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.5% C 0.191 H 278.6°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#504BCA
RGBrgb(80, 75, 202)
HSLhsl(242, 55%, 54%)
HSVhsv(242, 63%, 79%)
CMYKcmyk(60.4%, 62.9%, 0%, 20.8%)
CIE-LABlab(39.58, 39.24, -65.47)
CIE-LCHlch(39.58, 76.33, 300.94°)
OKLaboklab(49.54% 0.0285 -0.1884)
OKLCHoklch(49.54% 0.191 278.6)
XYZxyz(16.4816, 11.0007, 57.1205)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504BCA #C5CA4B
analogous
#4B86CA #504BCA #904BCA
triadic
#504BCA #CA504B #4BCA50
tetradic
#504BCA #CA4B86 #C5CA4B #4BCA90
square
#504BCA #CA4B86 #C5CA4B #4BCA90
split-complementary
#504BCA #CA904B #86CA4B
monochromatic
#262377 #3631A7 #504BCA #7E7AD8 #ACAAE6

Accessibility & contrast

On white

6.56
#504BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#504BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504BCA
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504BCA#FFFFFF#000000##FFFFFF
##504BCA1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#0058C7
Tritanopia (blue-blind)
#006B83
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #504bca;
/* rgb */ color: rgb(80, 75, 202);
/* oklch */ color: oklch(49.5% 0.191 278.6);
Tailwind
colors: {
  custom: {
    50: '#8d7edb',
    500: '#504bca',
    950: '#000000',
  },
}
SCSS
$custom: #504bca;
$custom-light: #8d7edb;
$custom-dark: #000000;
JSON
{
  "hex": "#504bca",
  "rgb": {
    "r": 80,
    "g": 75,
    "b": 202
  },
  "hsl": {
    "h": 242.362,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.49537,
    "c": 0.19058,
    "h": 278.6
  },
  "luminance": 0.11002
}

Semantic roles & 50–950 ramp

primary
#504BCA
secondary
#D1D39D
accent
#DE4AD8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #504BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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