#5246DD#5246DD

#5246DD is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.5% C 0.220 H 278.6°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#5246DD
RGBrgb(82, 70, 221)
HSLhsl(245, 69%, 57%)
HSVhsv(245, 68%, 87%)
CMYKcmyk(62.9%, 68.3%, 0%, 13.3%)
CIE-LABlab(40.23, 48.50, -75.33)
CIE-LCHlch(40.23, 89.60, 302.78°)
OKLaboklab(50.54% 0.0329 -0.2173)
OKLCHoklch(50.54% 0.22 278.6)
XYZxyz(18.7168, 11.3931, 69.6054)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5246DD #D1DD46
analogous
#4686DD #5246DD #9D46DD
triadic
#5246DD #DD5246 #46DD52
tetradic
#5246DD #DD4686 #D1DD46 #46DD9D
square
#5246DD #DD4686 #D1DD46 #46DD9D
split-complementary
#5246DD #DD9D46 #86DD46
monochromatic
#231A8E #3024C2 #5246DD #827AE7 #B3ADF0

Accessibility & contrast

On white

6.40
#5246DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#5246DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5246DD
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5246DD#FFFFFF#000000##FFFFFF
##5246DD1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E2
Deuteranopia (green-blind)
#0059DA
Tritanopia (blue-blind)
#006E8C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5246dd;
/* rgb */ color: rgb(82, 70, 221);
/* oklch */ color: oklch(50.5% 0.220 278.6);
Tailwind
colors: {
  custom: {
    50: '#927be9',
    500: '#5246dd',
    950: '#000000',
  },
}
SCSS
$custom: #5246dd;
$custom-light: #927be9;
$custom-dark: #000000;
JSON
{
  "hex": "#5246dd",
  "rgb": {
    "r": 82,
    "g": 70,
    "b": 221
  },
  "hsl": {
    "h": 244.768,
    "s": 68.95,
    "l": 57.059
  },
  "oklch": {
    "l": 0.50539,
    "c": 0.21977,
    "h": 278.6
  },
  "luminance": 0.11395
}

Semantic roles & 50–950 ramp

primary
#5246DD
secondary
#D9DEA1
accent
#EC3CDE
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5246DD

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

Preview Lab → · Contrast checker → · Palette generator →

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