#5246D2#5246D2

#5246D2 is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 49.6% C 0.206 H 279.6°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#5246D2
RGBrgb(82, 70, 210)
HSLhsl(245, 61%, 55%)
HSVhsv(245, 67%, 82%)
CMYKcmyk(61%, 66.7%, 0%, 17.6%)
CIE-LABlab(39.29, 45.05, -70.57)
CIE-LCHlch(39.29, 83.73, 302.55°)
OKLaboklab(49.56% 0.0344 -0.2034)
OKLCHoklch(49.56% 0.206 279.6)
XYZxyz(17.2990, 10.8260, 62.1383)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5246D2 #C6D246
analogous
#4680D2 #5246D2 #9846D2
triadic
#5246D2 #D25246 #46D252
tetradic
#5246D2 #D24680 #C6D246 #46D298
square
#5246D2 #D24680 #C6D246 #46D298
split-complementary
#5246D2 #D29846 #80D246
monochromatic
#271F7F #362BB0 #5246D2 #8077DE #AEA8EA

Accessibility & contrast

On white

6.63
#5246D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#5246D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5246D2
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5246D2#FFFFFF#000000##FFFFFF
##5246D21.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D6
Deuteranopia (green-blind)
#0057CF
Tritanopia (blue-blind)
#006A86
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5246d2;
/* rgb */ color: rgb(82, 70, 210);
/* oklch */ color: oklch(49.6% 0.206 279.6);
Tailwind
colors: {
  custom: {
    50: '#907be1',
    500: '#5246d2',
    950: '#000000',
  },
}
SCSS
$custom: #5246d2;
$custom-light: #907be1;
$custom-dark: #000000;
JSON
{
  "hex": "#5246d2",
  "rgb": {
    "r": 82,
    "g": 70,
    "b": 210
  },
  "hsl": {
    "h": 245.143,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.49564,
    "c": 0.20624,
    "h": 279.6
  },
  "luminance": 0.10827
}

Semantic roles & 50–950 ramp

primary
#5246D2
secondary
#D2D79C
accent
#E444D6
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5246D2

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

Preview Lab → · Contrast checker → · Palette generator →

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