#5246D5#5246D5

#5246D5 is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 49.8% C 0.210 H 279.3°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#5246D5
RGBrgb(82, 70, 213)
HSLhsl(245, 63%, 55%)
HSVhsv(245, 67%, 84%)
CMYKcmyk(61.5%, 67.1%, 0%, 16.5%)
CIE-LABlab(39.54, 46.00, -71.88)
CIE-LCHlch(39.54, 85.34, 302.61°)
OKLaboklab(49.83% 0.034 -0.2072)
OKLCHoklch(49.83% 0.21 279.3)
XYZxyz(17.6762, 10.9769, 64.1252)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5246D5 #C9D546
analogous
#4681D5 #5246D5 #9946D5
triadic
#5246D5 #D55246 #46D552
tetradic
#5246D5 #D54681 #C9D546 #46D599
square
#5246D5 #D54681 #C9D546 #46D599
split-complementary
#5246D5 #D59946 #81D546
monochromatic
#261E83 #3529B5 #5246D5 #8178E0 #AFAAEC

Accessibility & contrast

On white

6.57
#5246D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#5246D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5246D5
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5246D5#FFFFFF#000000##FFFFFF
##5246D51.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D9
Deuteranopia (green-blind)
#0057D2
Tritanopia (blue-blind)
#006C88
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5246d5;
/* rgb */ color: rgb(82, 70, 213);
/* oklch */ color: oklch(49.8% 0.210 279.3);
Tailwind
colors: {
  custom: {
    50: '#917be3',
    500: '#5246d5',
    950: '#000000',
  },
}
SCSS
$custom: #5246d5;
$custom-light: #917be3;
$custom-dark: #000000;
JSON
{
  "hex": "#5246d5",
  "rgb": {
    "r": 82,
    "g": 70,
    "b": 213
  },
  "hsl": {
    "h": 245.035,
    "s": 62.996,
    "l": 55.49
  },
  "oklch": {
    "l": 0.49827,
    "c": 0.20997,
    "h": 279.3
  },
  "luminance": 0.10978
}

Semantic roles & 50–950 ramp

primary
#5246D5
secondary
#D4D99E
accent
#E642D8
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5246D5

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

Preview Lab → · Contrast checker → · Palette generator →

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