#5246CC#5246CC

#5246CC is a mid, vivid blue. Relative luminance 0.105; OKLCH L 49.0% C 0.199 H 280.2°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#5246CC
RGBrgb(82, 70, 204)
HSLhsl(245, 57%, 54%)
HSVhsv(245, 66%, 80%)
CMYKcmyk(59.8%, 65.7%, 0%, 20%)
CIE-LABlab(38.78, 43.16, -67.93)
CIE-LCHlch(38.78, 80.48, 302.43°)
OKLaboklab(49.04% 0.0351 -0.1956)
OKLCHoklch(49.04% 0.199 280.2)
XYZxyz(16.5655, 10.5326, 58.2751)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5246CC #C0CC46
analogous
#467DCC #5246CC #9546CC
triadic
#5246CC #CC5246 #46CC52
tetradic
#5246CC #CC467D #C0CC46 #46CC95
square
#5246CC #CC467D #C0CC46 #46CC95
split-complementary
#5246CC #CC9546 #7DCC46
monochromatic
#282177 #392EA7 #5246CC #7F76D9 #ACA6E6

Accessibility & contrast

On white

6.76
#5246CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#5246CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5246CC
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5246CC#FFFFFF#000000##FFFFFF
##5246CC1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D0
Deuteranopia (green-blind)
#0056C9
Tritanopia (blue-blind)
#006883
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5246cc;
/* rgb */ color: rgb(82, 70, 204);
/* oklch */ color: oklch(49.0% 0.199 280.2);
Tailwind
colors: {
  custom: {
    50: '#8f7add',
    500: '#5246cc',
    950: '#000000',
  },
}
SCSS
$custom: #5246cc;
$custom-light: #8f7add;
$custom-dark: #000000;
JSON
{
  "hex": "#5246cc",
  "rgb": {
    "r": 82,
    "g": 70,
    "b": 204
  },
  "hsl": {
    "h": 245.373,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.49044,
    "c": 0.19873,
    "h": 280.2
  },
  "luminance": 0.10534
}

Semantic roles & 50–950 ramp

primary
#5246CC
secondary
#CED49A
accent
#E048D2
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5246CC

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

Preview Lab → · Contrast checker → · Palette generator →

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