#5247F4#5247F4

#5247F4 is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.8% C 0.246 H 276.6°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#5247F4
RGBrgb(82, 71, 244)
HSLhsl(244, 89%, 62%)
HSVhsv(244, 71%, 96%)
CMYKcmyk(66.4%, 70.9%, 0%, 4.3%)
CIE-LABlab(42.51, 55.08, -84.63)
CIE-LCHlch(42.51, 100.98, 303.06°)
OKLaboklab(52.79% 0.0285 -0.2445)
OKLCHoklch(52.79% 0.246 276.6)
XYZxyz(22.0567, 12.8300, 86.8845)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5247F4 #E9F447
analogous
#4793F4 #5247F4 #A947F4
triadic
#5247F4 #F45247 #47F452
tetradic
#5247F4 #F44793 #E9F447 #47F4A9
square
#5247F4 #F44793 #E9F447 #47F4A9
split-complementary
#5247F4 #F4A947 #93F447
monochromatic
#160BB6 #1D0EEF #5247F4 #8881F7 #BFBAFB

Accessibility & contrast

On white

5.89
#5247F4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#5247F4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5247F4
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5247F4#FFFFFF#000000##FFFFFF
##5247F41.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CF9
Deuteranopia (green-blind)
#005DF1
Tritanopia (blue-blind)
#007799
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5247f4;
/* rgb */ color: rgb(82, 71, 244);
/* oklch */ color: oklch(52.8% 0.246 276.6);
Tailwind
colors: {
  custom: {
    50: '#967cf9',
    500: '#5247f4',
    950: '#000000',
  },
}
SCSS
$custom: #5247f4;
$custom-light: #967cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#5247f4",
  "rgb": {
    "r": 82,
    "g": 71,
    "b": 244
  },
  "hsl": {
    "h": 243.815,
    "s": 88.718,
    "l": 61.765
  },
  "oklch": {
    "l": 0.52793,
    "c": 0.24616,
    "h": 276.6
  },
  "luminance": 0.12832
}

Semantic roles & 50–950 ramp

primary
#5247F4
secondary
#E7EBAB
accent
#E500D7
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5247F4

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

Preview Lab → · Contrast checker → · Palette generator →

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