#5246CE#5246CE

#5246CE is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.2% C 0.201 H 280.0°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#5246CE
RGBrgb(82, 70, 206)
HSLhsl(245, 58%, 54%)
HSVhsv(245, 66%, 81%)
CMYKcmyk(60.2%, 66%, 0%, 19.2%)
CIE-LABlab(38.95, 43.79, -68.81)
CIE-LCHlch(38.95, 81.57, 302.47°)
OKLaboklab(49.22% 0.0349 -0.1982)
OKLCHoklch(49.22% 0.201 280)
XYZxyz(16.8069, 10.6292, 59.5465)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5246CE #C2CE46
analogous
#467ECE #5246CE #9646CE
triadic
#5246CE #CE5246 #46CE52
tetradic
#5246CE #CE467E #C2CE46 #46CE96
square
#5246CE #CE467E #C2CE46 #46CE96
split-complementary
#5246CE #CE9646 #7ECE46
monochromatic
#282079 #382DAA #5246CE #7F76DB #ACA7E8

Accessibility & contrast

On white

6.72
#5246CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#5246CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5246CE
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5246CE#FFFFFF#000000##FFFFFF
##5246CE1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D2
Deuteranopia (green-blind)
#0056CB
Tritanopia (blue-blind)
#006984
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5246ce;
/* rgb */ color: rgb(82, 70, 206);
/* oklch */ color: oklch(49.2% 0.201 280.0);
Tailwind
colors: {
  custom: {
    50: '#907ade',
    500: '#5246ce',
    950: '#000000',
  },
}
SCSS
$custom: #5246ce;
$custom-light: #907ade;
$custom-dark: #000000;
JSON
{
  "hex": "#5246ce",
  "rgb": {
    "r": 82,
    "g": 70,
    "b": 206
  },
  "hsl": {
    "h": 245.294,
    "s": 58.12,
    "l": 54.118
  },
  "oklch": {
    "l": 0.49216,
    "c": 0.20125,
    "h": 280
  },
  "luminance": 0.1063
}

Semantic roles & 50–950 ramp

primary
#5246CE
secondary
#D0D59B
accent
#E146D4
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5246CE

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

Preview Lab → · Contrast checker → · Palette generator →

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