#5246BC#5246BC

#5246BC is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.7% C 0.178 H 281.9°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#5246BC
RGBrgb(82, 70, 188)
HSLhsl(246, 47%, 51%)
HSVhsv(246, 63%, 74%)
CMYKcmyk(56.4%, 62.8%, 0%, 26.3%)
CIE-LABlab(37.49, 38.10, -60.71)
CIE-LCHlch(37.49, 71.68, 302.11°)
OKLaboklab(47.7% 0.0366 -0.1744)
OKLCHoklch(47.7% 0.178 281.9)
XYZxyz(14.7441, 9.8041, 48.6826)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5246BC #B0BC46
analogous
#4675BC #5246BC #8D46BC
triadic
#5246BC #BC5246 #46BC52
tetradic
#5246BC #BC4675 #B0BC46 #46BC8D
square
#5246BC #BC4675 #B0BC46 #46BC8D
split-complementary
#5246BC #BC8D46 #75BC46
monochromatic
#2B2464 #3E3490 #5246BC #7C73CC #A6A0DD

Accessibility & contrast

On white

7.09
#5246BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#5246BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5246BC
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5246BC#FFFFFF#000000##FFFFFF
##5246BC1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#0054BA
Tritanopia (blue-blind)
#1C637A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5246bc;
/* rgb */ color: rgb(82, 70, 188);
/* oklch */ color: oklch(47.7% 0.178 281.9);
Tailwind
colors: {
  custom: {
    50: '#8d7ad1',
    500: '#5246bc',
    950: '#000000',
  },
}
SCSS
$custom: #5246bc;
$custom-light: #8d7ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#5246bc",
  "rgb": {
    "r": 82,
    "g": 70,
    "b": 188
  },
  "hsl": {
    "h": 246.102,
    "s": 46.825,
    "l": 50.588
  },
  "oklch": {
    "l": 0.47701,
    "c": 0.17821,
    "h": 281.9
  },
  "luminance": 0.09805
}

Semantic roles & 50–950 ramp

primary
#5246BC
secondary
#C4C995
accent
#D651C9
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #5246BC

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

Preview Lab → · Contrast checker → · Palette generator →

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