#504FD0#504FD0

#504FD0 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.7% C 0.194 H 277.3°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#504FD0
RGBrgb(80, 79, 208)
HSLhsl(240, 58%, 56%)
HSVhsv(240, 62%, 82%)
CMYKcmyk(61.5%, 62%, 0%, 18.4%)
CIE-LABlab(40.98, 38.78, -66.66)
CIE-LCHlch(40.98, 77.12, 300.19°)
OKLaboklab(50.71% 0.0246 -0.1919)
OKLCHoklch(50.71% 0.194 277.3)
XYZxyz(17.4857, 11.8501, 61.0281)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504FD0 #CFD04F
analogous
#4F8FD0 #504FD0 #914FD0
triadic
#504FD0 #D0504F #4FD050
tetradic
#504FD0 #D04F8F #CFD04F #4FD091
square
#504FD0 #D04F8F #CFD04F #4FD091
split-complementary
#504FD0 #D0914F #8FD04F
monochromatic
#232382 #3130B2 #504FD0 #807FDD #B0B0EA

Accessibility & contrast

On white

6.23
#504FD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#504FD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504FD0
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504FD0#FFFFFF#000000##FFFFFF
##504FD01.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D4
Deuteranopia (green-blind)
#005BCD
Tritanopia (blue-blind)
#006F88
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #504fd0;
/* rgb */ color: rgb(80, 79, 208);
/* oklch */ color: oklch(50.7% 0.194 277.3);
Tailwind
colors: {
  custom: {
    50: '#8e81df',
    500: '#504fd0',
    950: '#000000',
  },
}
SCSS
$custom: #504fd0;
$custom-light: #8e81df;
$custom-dark: #000000;
JSON
{
  "hex": "#504fd0",
  "rgb": {
    "r": 80,
    "g": 79,
    "b": 208
  },
  "hsl": {
    "h": 240.465,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50706,
    "c": 0.1935,
    "h": 277.3
  },
  "luminance": 0.11852
}

Semantic roles & 50–950 ramp

primary
#504FD0
secondary
#D8D8A3
accent
#E147E0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #504FD0

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

Preview Lab → · Contrast checker → · Palette generator →

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