#5246CA#5246CA

#5246CA is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.9% C 0.196 H 280.4°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#5246CA
RGBrgb(82, 70, 202)
HSLhsl(245, 55%, 53%)
HSVhsv(245, 65%, 79%)
CMYKcmyk(59.4%, 65.3%, 0%, 20.8%)
CIE-LABlab(38.62, 42.53, -67.04)
CIE-LCHlch(38.62, 79.39, 302.39°)
OKLaboklab(48.87% 0.0353 -0.193)
OKLCHoklch(48.87% 0.196 280.4)
XYZxyz(16.3271, 10.4373, 57.0199)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5246CA #BECA46
analogous
#467CCA #5246CA #9446CA
triadic
#5246CA #CA5246 #46CA52
tetradic
#5246CA #CA467C #BECA46 #46CA94
square
#5246CA #CA467C #BECA46 #46CA94
split-complementary
#5246CA #CA9446 #7CCA46
monochromatic
#292174 #3A2FA4 #5246CA #7E76D8 #ABA5E5

Accessibility & contrast

On white

6.80
#5246CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#5246CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5246CA
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5246CA#FFFFFF#000000##FFFFFF
##5246CA1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#0056C7
Tritanopia (blue-blind)
#006882
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5246ca;
/* rgb */ color: rgb(82, 70, 202);
/* oklch */ color: oklch(48.9% 0.196 280.4);
Tailwind
colors: {
  custom: {
    50: '#8f7adb',
    500: '#5246ca',
    950: '#000000',
  },
}
SCSS
$custom: #5246ca;
$custom-light: #8f7adb;
$custom-dark: #000000;
JSON
{
  "hex": "#5246ca",
  "rgb": {
    "r": 82,
    "g": 70,
    "b": 202
  },
  "hsl": {
    "h": 245.455,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.48872,
    "c": 0.1962,
    "h": 280.4
  },
  "luminance": 0.10438
}

Semantic roles & 50–950 ramp

primary
#5246CA
secondary
#CDD29A
accent
#DF49D1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5246CA

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

Preview Lab → · Contrast checker → · Palette generator →

#5246CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva