#5246DF#5246DF

#5246DF is a mid, highly saturated blue. Relative luminance 0.115; OKLCH L 50.7% C 0.222 H 278.4°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#5246DF
RGBrgb(82, 70, 223)
HSLhsl(245, 71%, 57%)
HSVhsv(245, 69%, 87%)
CMYKcmyk(63.2%, 68.6%, 0%, 12.5%)
CIE-LABlab(40.41, 49.13, -76.19)
CIE-LCHlch(40.41, 90.65, 302.81°)
OKLaboklab(50.72% 0.0326 -0.2198)
OKLCHoklch(50.72% 0.222 278.4)
XYZxyz(18.9848, 11.5003, 71.0171)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5246DF #D3DF46
analogous
#4686DF #5246DF #9F46DF
triadic
#5246DF #DF5246 #46DF52
tetradic
#5246DF #DF4686 #D3DF46 #46DF9F
square
#5246DF #DF4686 #D3DF46 #46DF9F
split-complementary
#5246DF #DF9F46 #86DF46
monochromatic
#231991 #2F22C6 #5246DF #837AE8 #B4AEF1

Accessibility & contrast

On white

6.36
#5246DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#5246DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5246DF
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5246DF#FFFFFF#000000##FFFFFF
##5246DF1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5246df;
/* rgb */ color: rgb(82, 70, 223);
/* oklch */ color: oklch(50.7% 0.222 278.4);
Tailwind
colors: {
  custom: {
    50: '#937bea',
    500: '#5246df',
    950: '#000000',
  },
}
SCSS
$custom: #5246df;
$custom-light: #937bea;
$custom-dark: #000000;
JSON
{
  "hex": "#5246df",
  "rgb": {
    "r": 82,
    "g": 70,
    "b": 223
  },
  "hsl": {
    "h": 244.706,
    "s": 70.507,
    "l": 57.451
  },
  "oklch": {
    "l": 0.50719,
    "c": 0.2222,
    "h": 278.4
  },
  "luminance": 0.11502
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5246DF

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

Preview Lab → · Contrast checker → · Palette generator →

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