#5247CF#5247CF

#5247CF is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 49.5% C 0.201 H 279.7°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#5247CF
RGBrgb(82, 71, 207)
HSLhsl(245, 59%, 55%)
HSVhsv(245, 66%, 81%)
CMYKcmyk(60.4%, 65.7%, 0%, 18.8%)
CIE-LABlab(39.25, 43.53, -68.90)
CIE-LCHlch(39.25, 81.50, 302.28°)
OKLaboklab(49.46% 0.0339 -0.1985)
OKLCHoklch(49.46% 0.201 279.7)
XYZxyz(16.9918, 10.8041, 60.2094)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5247CF #C4CF47
analogous
#4780CF #5247CF #9647CF
triadic
#5247CF #CF5247 #47CF52
tetradic
#5247CF #CF4780 #C4CF47 #47CF96
square
#5247CF #CF4780 #C4CF47 #47CF96
split-complementary
#5247CF #CF9647 #80CF47
monochromatic
#28207B #372DAC #5247CF #8078DC #ADA8E8

Accessibility & contrast

On white

6.64
#5247CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#5247CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5247CF
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5247CF#FFFFFF#000000##FFFFFF
##5247CF1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D3
Deuteranopia (green-blind)
#0057CC
Tritanopia (blue-blind)
#006A85
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5247cf;
/* rgb */ color: rgb(82, 71, 207);
/* oklch */ color: oklch(49.5% 0.201 279.7);
Tailwind
colors: {
  custom: {
    50: '#907bdf',
    500: '#5247cf',
    950: '#000000',
  },
}
SCSS
$custom: #5247cf;
$custom-light: #907bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#5247cf",
  "rgb": {
    "r": 82,
    "g": 71,
    "b": 207
  },
  "hsl": {
    "h": 244.853,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.49459,
    "c": 0.20134,
    "h": 279.7
  },
  "luminance": 0.10805
}

Semantic roles & 50–950 ramp

primary
#5247CF
secondary
#D1D69C
accent
#E246D5
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5247CF

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

Preview Lab → · Contrast checker → · Palette generator →

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