#5246D4#5246D4

#5246D4 is a mid, highly saturated blue. Relative luminance 0.109; OKLCH L 49.7% C 0.209 H 279.4°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#5246D4
RGBrgb(82, 70, 212)
HSLhsl(245, 62%, 55%)
HSVhsv(245, 67%, 83%)
CMYKcmyk(61.3%, 67%, 0%, 16.9%)
CIE-LABlab(39.46, 45.68, -71.45)
CIE-LCHlch(39.46, 84.80, 302.59°)
OKLaboklab(49.74% 0.0341 -0.2059)
OKLCHoklch(49.74% 0.209 279.4)
XYZxyz(17.5497, 10.9263, 63.4588)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5246D4 #C8D446
analogous
#4681D4 #5246D4 #9946D4
triadic
#5246D4 #D45246 #46D452
tetradic
#5246D4 #D44681 #C8D446 #46D499
square
#5246D4 #D44681 #C8D446 #46D499
split-complementary
#5246D4 #D49946 #81D446
monochromatic
#261E81 #352AB3 #5246D4 #8078E0 #AFA9EB

Accessibility & contrast

On white

6.59
#5246D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#5246D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5246D4
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5246D4#FFFFFF#000000##FFFFFF
##5246D41.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D8
Deuteranopia (green-blind)
#0057D1
Tritanopia (blue-blind)
#006B87
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5246d4;
/* rgb */ color: rgb(82, 70, 212);
/* oklch */ color: oklch(49.7% 0.209 279.4);
Tailwind
colors: {
  custom: {
    50: '#917be2',
    500: '#5246d4',
    950: '#000000',
  },
}
SCSS
$custom: #5246d4;
$custom-light: #917be2;
$custom-dark: #000000;
JSON
{
  "hex": "#5246d4",
  "rgb": {
    "r": 82,
    "g": 70,
    "b": 212
  },
  "hsl": {
    "h": 245.07,
    "s": 62.281,
    "l": 55.294
  },
  "oklch": {
    "l": 0.49739,
    "c": 0.20872,
    "h": 279.4
  },
  "luminance": 0.10928
}

Semantic roles & 50–950 ramp

primary
#5246D4
secondary
#D4D99D
accent
#E542D8
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5246D4

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

Preview Lab → · Contrast checker → · Palette generator →

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