#504CDD#504CDD

#504CDD is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.3% C 0.214 H 277.0°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#504CDD
RGBrgb(80, 76, 221)
HSLhsl(242, 68%, 58%)
HSVhsv(242, 66%, 87%)
CMYKcmyk(63.8%, 65.6%, 0%, 13.3%)
CIE-LABlab(41.36, 44.79, -73.49)
CIE-LCHlch(41.36, 86.06, 301.36°)
OKLaboklab(51.32% 0.026 -0.2119)
OKLCHoklch(51.32% 0.214 277)
XYZxyz(18.9396, 12.0932, 69.7287)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504CDD #D9DD4C
analogous
#4C90DD #504CDD #984CDD
triadic
#504CDD #DD504C #4CDD50
tetradic
#504CDD #DD4C90 #D9DD4C #4CDD98
square
#504CDD #DD4C90 #D9DD4C #4CDD98
split-complementary
#504CDD #DD984C #90DD4C
monochromatic
#1F1C93 #2A26C6 #504CDD #827FE7 #B5B3F1

Accessibility & contrast

On white

6.14
#504CDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#504CDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504CDD
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504CDD#FFFFFF#000000##FFFFFF
##504CDD1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E2
Deuteranopia (green-blind)
#005BDA
Tritanopia (blue-blind)
#00728E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #504cdd;
/* rgb */ color: rgb(80, 76, 221);
/* oklch */ color: oklch(51.3% 0.214 277.0);
Tailwind
colors: {
  custom: {
    50: '#917fe9',
    500: '#504cdd',
    950: '#000000',
  },
}
SCSS
$custom: #504cdd;
$custom-light: #917fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#504cdd",
  "rgb": {
    "r": 80,
    "g": 76,
    "b": 221
  },
  "hsl": {
    "h": 241.655,
    "s": 68.075,
    "l": 58.235
  },
  "oklch": {
    "l": 0.51317,
    "c": 0.21354,
    "h": 277
  },
  "luminance": 0.12095
}

Semantic roles & 50–950 ramp

primary
#504CDD
secondary
#DEDFA6
accent
#EB3DE6
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #504CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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