#504BCD#504BCD

#504BCD is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.8% C 0.194 H 278.4°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#504BCD
RGBrgb(80, 75, 205)
HSLhsl(242, 57%, 55%)
HSVhsv(242, 63%, 80%)
CMYKcmyk(61%, 63.4%, 0%, 19.6%)
CIE-LABlab(39.82, 40.22, -66.82)
CIE-LCHlch(39.82, 77.99, 301.04°)
OKLaboklab(49.79% 0.0283 -0.1924)
OKLCHoklch(49.79% 0.194 278.4)
XYZxyz(16.8403, 11.1441, 59.0094)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504BCD #C8CD4B
analogous
#4B87CD #504BCD #914BCD
triadic
#504BCD #CD504B #4BCD50
tetradic
#504BCD #CD4B87 #C8CD4B #4BCD91
square
#504BCD #CD4B87 #C8CD4B #4BCD91
split-complementary
#504BCD #CD914B #87CD4B
monochromatic
#26227B #3430AB #504BCD #7F7BDA #ADABE8

Accessibility & contrast

On white

6.50
#504BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#504BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504BCD
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504BCD#FFFFFF#000000##FFFFFF
##504BCD1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#0058CA
Tritanopia (blue-blind)
#006C85
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #504bcd;
/* rgb */ color: rgb(80, 75, 205);
/* oklch */ color: oklch(49.8% 0.194 278.4);
Tailwind
colors: {
  custom: {
    50: '#8e7edd',
    500: '#504bcd',
    950: '#000000',
  },
}
SCSS
$custom: #504bcd;
$custom-light: #8e7edd;
$custom-dark: #000000;
JSON
{
  "hex": "#504bcd",
  "rgb": {
    "r": 80,
    "g": 75,
    "b": 205
  },
  "hsl": {
    "h": 242.308,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.49787,
    "c": 0.19444,
    "h": 278.4
  },
  "luminance": 0.11145
}

Semantic roles & 50–950 ramp

primary
#504BCD
secondary
#D3D59F
accent
#E048DA
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #504BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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