#5246DB#5246DB

#5246DB is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 50.4% C 0.217 H 278.8°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#5246DB
RGBrgb(82, 70, 219)
HSLhsl(245, 67%, 57%)
HSVhsv(245, 68%, 86%)
CMYKcmyk(62.6%, 68%, 0%, 14.1%)
CIE-LABlab(40.06, 47.88, -74.47)
CIE-LCHlch(40.06, 88.54, 302.74°)
OKLaboklab(50.36% 0.0331 -0.2148)
OKLCHoklch(50.36% 0.217 278.8)
XYZxyz(18.4519, 11.2872, 68.2104)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5246DB #CFDB46
analogous
#4685DB #5246DB #9D46DB
triadic
#5246DB #DB5246 #46DB52
tetradic
#5246DB #DB4685 #CFDB46 #46DB9D
square
#5246DB #DB4685 #CFDB46 #46DB9D
split-complementary
#5246DB #DB9D46 #85DB46
monochromatic
#241B8B #3125BF #5246DB #8279E5 #B2ACEF

Accessibility & contrast

On white

6.45
#5246DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#5246DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5246DB
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5246DB#FFFFFF#000000##FFFFFF
##5246DB1.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)
#0064E0
Deuteranopia (green-blind)
#0058D8
Tritanopia (blue-blind)
#006E8B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5246db;
/* rgb */ color: rgb(82, 70, 219);
/* oklch */ color: oklch(50.4% 0.217 278.8);
Tailwind
colors: {
  custom: {
    50: '#927be7',
    500: '#5246db',
    950: '#000000',
  },
}
SCSS
$custom: #5246db;
$custom-light: #927be7;
$custom-dark: #000000;
JSON
{
  "hex": "#5246db",
  "rgb": {
    "r": 82,
    "g": 70,
    "b": 219
  },
  "hsl": {
    "h": 244.832,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.50359,
    "c": 0.21733,
    "h": 278.8
  },
  "luminance": 0.11289
}

Semantic roles & 50–950 ramp

primary
#5246DB
secondary
#D8DDA0
accent
#EA3DDC
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5246DB

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

Preview Lab → · Contrast checker → · Palette generator →

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