#5247BC#5247BC

#5247BC is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.9% C 0.177 H 281.6°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#5247BC
RGBrgb(82, 71, 188)
HSLhsl(246, 47%, 51%)
HSVhsv(246, 62%, 74%)
CMYKcmyk(56.4%, 62.2%, 0%, 26.3%)
CIE-LABlab(37.72, 37.50, -60.34)
CIE-LCHlch(37.72, 71.04, 301.86°)
OKLaboklab(47.87% 0.0357 -0.1733)
OKLCHoklch(47.87% 0.177 281.6)
XYZxyz(14.8072, 9.9302, 48.7037)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5247BC #B1BC47
analogous
#4776BC #5247BC #8C47BC
triadic
#5247BC #BC5247 #47BC52
tetradic
#5247BC #BC4776 #B1BC47 #47BC8C
square
#5247BC #BC4776 #B1BC47 #47BC8C
split-complementary
#5247BC #BC8C47 #76BC47
monochromatic
#2A2464 #3D3591 #5247BC #7C74CC #A6A1DD

Accessibility & contrast

On white

7.03
#5247BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#5247BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5247BC
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5247BC#FFFFFF#000000##FFFFFF
##5247BC1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#0055BA
Tritanopia (blue-blind)
#1B647B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5247bc;
/* rgb */ color: rgb(82, 71, 188);
/* oklch */ color: oklch(47.9% 0.177 281.6);
Tailwind
colors: {
  custom: {
    50: '#8c7bd1',
    500: '#5247bc',
    950: '#000000',
  },
}
SCSS
$custom: #5247bc;
$custom-light: #8c7bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5247bc",
  "rgb": {
    "r": 82,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 245.641,
    "s": 46.614,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47868,
    "c": 0.17695,
    "h": 281.6
  },
  "luminance": 0.09931
}

Semantic roles & 50–950 ramp

primary
#5247BC
secondary
#C4C995
accent
#D652CA
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #5247BC

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

Preview Lab → · Contrast checker → · Palette generator →

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