#5247CE#5247CE

#5247CE is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 49.4% C 0.200 H 279.8°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#5247CE
RGBrgb(82, 71, 206)
HSLhsl(245, 58%, 54%)
HSVhsv(245, 66%, 81%)
CMYKcmyk(60.2%, 65.5%, 0%, 19.2%)
CIE-LABlab(39.17, 43.21, -68.46)
CIE-LCHlch(39.17, 80.96, 302.26°)
OKLaboklab(49.37% 0.034 -0.1972)
OKLCHoklch(49.37% 0.2 279.8)
XYZxyz(16.8700, 10.7553, 59.5676)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5247CE #C3CE47
analogous
#4780CE #5247CE #9647CE
triadic
#5247CE #CE5247 #47CE52
tetradic
#5247CE #CE4780 #C3CE47 #47CE96
square
#5247CE #CE4780 #C3CE47 #47CE96
split-complementary
#5247CE #CE9647 #80CE47
monochromatic
#28217A #382DAA #5247CE #7F77DB #ADA8E8

Accessibility & contrast

On white

6.66
#5247CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#5247CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5247CE
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5247CE#FFFFFF#000000##FFFFFF
##5247CE1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D2
Deuteranopia (green-blind)
#0057CB
Tritanopia (blue-blind)
#006A84
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5247ce;
/* rgb */ color: rgb(82, 71, 206);
/* oklch */ color: oklch(49.4% 0.200 279.8);
Tailwind
colors: {
  custom: {
    50: '#8f7bde',
    500: '#5247ce',
    950: '#000000',
  },
}
SCSS
$custom: #5247ce;
$custom-light: #8f7bde;
$custom-dark: #000000;
JSON
{
  "hex": "#5247ce",
  "rgb": {
    "r": 82,
    "g": 71,
    "b": 206
  },
  "hsl": {
    "h": 244.889,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.49373,
    "c": 0.20009,
    "h": 279.8
  },
  "luminance": 0.10757
}

Semantic roles & 50–950 ramp

primary
#5247CE
secondary
#D0D59C
accent
#E147D5
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5247CE

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

Preview Lab → · Contrast checker → · Palette generator →

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