#524FC2#524FC2

#524FC2 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.7% C 0.175 H 279.1°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#524FC2
RGBrgb(82, 79, 194)
HSLhsl(242, 49%, 54%)
HSVhsv(242, 59%, 76%)
CMYKcmyk(57.7%, 59.3%, 0%, 23.9%)
CIE-LABlab(40.05, 34.55, -60.06)
CIE-LCHlch(40.05, 69.29, 299.91°)
OKLaboklab(49.72% 0.0276 -0.1724)
OKLCHoklch(49.72% 0.175 279.1)
XYZxyz(16.0102, 11.2797, 52.3620)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524FC2 #BFC24F
analogous
#4F85C2 #524FC2 #8B4FC2
triadic
#524FC2 #C2524F #4FC252
tetradic
#524FC2 #C24F85 #BFC24F #4FC28B
square
#524FC2 #C24F85 #BFC24F #4FC28B
split-complementary
#524FC2 #C28B4F #85C24F
monochromatic
#292770 #39379D #524FC2 #7F7CD2 #ABAAE2

Accessibility & contrast

On white

6.45
#524FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#524FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524FC2
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524FC2#FFFFFF#000000##FFFFFF
##524FC21.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#005AC0
Tritanopia (blue-blind)
#0B6B81
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #524fc2;
/* rgb */ color: rgb(82, 79, 194);
/* oklch */ color: oklch(49.7% 0.175 279.1);
Tailwind
colors: {
  custom: {
    50: '#8d80d5',
    500: '#524fc2',
    950: '#000000',
  },
}
SCSS
$custom: #524fc2;
$custom-light: #8d80d5;
$custom-dark: #000000;
JSON
{
  "hex": "#524fc2",
  "rgb": {
    "r": 82,
    "g": 79,
    "b": 194
  },
  "hsl": {
    "h": 241.565,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.49724,
    "c": 0.17465,
    "h": 279.1
  },
  "luminance": 0.11281
}

Semantic roles & 50–950 ramp

primary
#524FC2
secondary
#CECF9E
accent
#D850D5
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #524FC2

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

Preview Lab → · Contrast checker → · Palette generator →

#524FC2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva