#504FBC#504FBC

#504FBC is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.1% C 0.167 H 278.7°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#504FBC
RGBrgb(80, 79, 188)
HSLhsl(241, 45%, 52%)
HSVhsv(241, 58%, 74%)
CMYKcmyk(57.4%, 58%, 0%, 26.3%)
CIE-LABlab(39.46, 32.23, -57.52)
CIE-LCHlch(39.46, 65.93, 299.26°)
OKLaboklab(49.11% 0.0253 -0.165)
OKLCHoklch(49.11% 0.167 278.7)
XYZxyz(15.1785, 10.9272, 48.8765)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504FBC #BBBC4F
analogous
#4F85BC #504FBC #864FBC
triadic
#504FBC #BC504F #4FBC50
tetradic
#504FBC #BC4F85 #BBBC4F #4FBC86
square
#504FBC #BC4F85 #BBBC4F #4FBC86
split-complementary
#504FBC #BC864F #85BC4F
monochromatic
#282869 #3A3995 #504FBC #7C7BCD #A8A8DE

Accessibility & contrast

On white

6.59
#504FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#504FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504FBC
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504FBC#FFFFFF#000000##FFFFFF
##504FBC1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#0F697E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #504fbc;
/* rgb */ color: rgb(80, 79, 188);
/* oklch */ color: oklch(49.1% 0.167 278.7);
Tailwind
colors: {
  custom: {
    50: '#8b80d1',
    500: '#504fbc',
    950: '#000000',
  },
}
SCSS
$custom: #504fbc;
$custom-light: #8b80d1;
$custom-dark: #000000;
JSON
{
  "hex": "#504fbc",
  "rgb": {
    "r": 80,
    "g": 79,
    "b": 188
  },
  "hsl": {
    "h": 240.55,
    "s": 44.856,
    "l": 52.353
  },
  "oklch": {
    "l": 0.4911,
    "c": 0.16697,
    "h": 278.7
  },
  "luminance": 0.10928
}

Semantic roles & 50–950 ramp

primary
#504FBC
secondary
#CBCB9C
accent
#D553D3
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #504FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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