#504FD3#504FD3

#504FD3 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 51.0% C 0.197 H 277.1°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#504FD3
RGBrgb(80, 79, 211)
HSLhsl(240, 60%, 57%)
HSVhsv(240, 63%, 83%)
CMYKcmyk(62.1%, 62.6%, 0%, 17.3%)
CIE-LABlab(41.21, 39.76, -68.00)
CIE-LCHlch(41.21, 78.77, 300.31°)
OKLaboklab(50.96% 0.0245 -0.1958)
OKLCHoklch(50.96% 0.197 277.1)
XYZxyz(17.8583, 11.9992, 62.9904)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504FD3 #D2D34F
analogous
#4F90D3 #504FD3 #924FD3
triadic
#504FD3 #D3504F #4FD350
tetradic
#504FD3 #D34F90 #D2D34F #4FD392
square
#504FD3 #D34F90 #D2D34F #4FD392
split-complementary
#504FD3 #D3924F #90D34F
monochromatic
#222286 #2F2EB7 #504FD3 #8180DF #B1B1EB

Accessibility & contrast

On white

6.18
#504FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#504FD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504FD3
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504FD3#FFFFFF#000000##FFFFFF
##504FD31.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D7
Deuteranopia (green-blind)
#005CD0
Tritanopia (blue-blind)
#00708A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #504fd3;
/* rgb */ color: rgb(80, 79, 211);
/* oklch */ color: oklch(51.0% 0.197 277.1);
Tailwind
colors: {
  custom: {
    50: '#8f81e1',
    500: '#504fd3',
    950: '#000000',
  },
}
SCSS
$custom: #504fd3;
$custom-light: #8f81e1;
$custom-dark: #000000;
JSON
{
  "hex": "#504fd3",
  "rgb": {
    "r": 80,
    "g": 79,
    "b": 211
  },
  "hsl": {
    "h": 240.455,
    "s": 60,
    "l": 56.863
  },
  "oklch": {
    "l": 0.50955,
    "c": 0.19737,
    "h": 277.1
  },
  "luminance": 0.12001
}

Semantic roles & 50–950 ramp

primary
#504FD3
secondary
#D9DAA4
accent
#E345E2
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #504FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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