#5247F0#5247F0

#5247F0 is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.4% C 0.241 H 276.9°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#5247F0
RGBrgb(82, 71, 240)
HSLhsl(244, 85%, 61%)
HSVhsv(244, 70%, 94%)
CMYKcmyk(65.8%, 70.4%, 0%, 5.9%)
CIE-LABlab(42.14, 53.85, -82.99)
CIE-LCHlch(42.14, 98.93, 302.98°)
OKLaboklab(52.42% 0.0292 -0.2397)
OKLCHoklch(52.42% 0.241 276.9)
XYZxyz(21.4560, 12.5897, 83.7205)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5247F0 #E5F047
analogous
#4790F0 #5247F0 #A647F0
triadic
#5247F0 #F05247 #47F052
tetradic
#5247F0 #F04790 #E5F047 #47F0A6
square
#5247F0 #F04790 #E5F047 #47F0A6
split-complementary
#5247F0 #F0A647 #90F047
monochromatic
#190EAE #2113E7 #5247F0 #8780F5 #BCB8F9

Accessibility & contrast

On white

5.97
#5247F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#5247F0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5247F0
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5247F0#FFFFFF#000000##FFFFFF
##5247F01.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BF5
Deuteranopia (green-blind)
#005CED
Tritanopia (blue-blind)
#007697
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5247f0;
/* rgb */ color: rgb(82, 71, 240);
/* oklch */ color: oklch(52.4% 0.241 276.9);
Tailwind
colors: {
  custom: {
    50: '#967cf6',
    500: '#5247f0',
    950: '#000000',
  },
}
SCSS
$custom: #5247f0;
$custom-light: #967cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#5247f0",
  "rgb": {
    "r": 82,
    "g": 71,
    "b": 240
  },
  "hsl": {
    "h": 243.905,
    "s": 84.925,
    "l": 60.98
  },
  "oklch": {
    "l": 0.52419,
    "c": 0.24146,
    "h": 276.9
  },
  "luminance": 0.12592
}

Semantic roles & 50–950 ramp

primary
#5247F0
secondary
#E5E9AA
accent
#E104D3
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5247F0

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

Preview Lab → · Contrast checker → · Palette generator →

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