#5246DE#5246DE

#5246DE is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.6% C 0.221 H 278.5°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#5246DE
RGBrgb(82, 70, 222)
HSLhsl(245, 70%, 57%)
HSVhsv(245, 68%, 87%)
CMYKcmyk(63.1%, 68.5%, 0%, 12.9%)
CIE-LABlab(40.32, 48.81, -75.76)
CIE-LCHlch(40.32, 90.12, 302.79°)
OKLaboklab(50.63% 0.0327 -0.2185)
OKLCHoklch(50.63% 0.221 278.5)
XYZxyz(18.8504, 11.4466, 70.3091)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5246DE #D2DE46
analogous
#4686DE #5246DE #9E46DE
triadic
#5246DE #DE5246 #46DE52
tetradic
#5246DE #DE4686 #D2DE46 #46DE9E
square
#5246DE #DE4686 #D2DE46 #46DE9E
split-complementary
#5246DE #DE9E46 #86DE46
monochromatic
#231A90 #3023C4 #5246DE #837AE7 #B3AEF1

Accessibility & contrast

On white

6.38
#5246DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#5246DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5246DE
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5246DE#FFFFFF#000000##FFFFFF
##5246DE1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E3
Deuteranopia (green-blind)
#0059DB
Tritanopia (blue-blind)
#006F8D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5246de;
/* rgb */ color: rgb(82, 70, 222);
/* oklch */ color: oklch(50.6% 0.221 278.5);
Tailwind
colors: {
  custom: {
    50: '#927be9',
    500: '#5246de',
    950: '#000000',
  },
}
SCSS
$custom: #5246de;
$custom-light: #927be9;
$custom-dark: #000000;
JSON
{
  "hex": "#5246de",
  "rgb": {
    "r": 82,
    "g": 70,
    "b": 222
  },
  "hsl": {
    "h": 244.737,
    "s": 69.725,
    "l": 57.255
  },
  "oklch": {
    "l": 0.50629,
    "c": 0.22098,
    "h": 278.5
  },
  "luminance": 0.11448
}

Semantic roles & 50–950 ramp

primary
#5246DE
secondary
#DADFA1
accent
#ED3BDF
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5246DE

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

Preview Lab → · Contrast checker → · Palette generator →

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