#5247DB#5247DB

#5247DB is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.5% C 0.216 H 278.6°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#5247DB
RGBrgb(82, 71, 219)
HSLhsl(244, 67%, 57%)
HSVhsv(244, 68%, 86%)
CMYKcmyk(62.6%, 67.6%, 0%, 14.1%)
CIE-LABlab(40.27, 47.31, -74.13)
CIE-LCHlch(40.27, 87.94, 302.54°)
OKLaboklab(50.51% 0.0324 -0.2138)
OKLCHoklch(50.51% 0.216 278.6)
XYZxyz(18.5150, 11.4133, 68.2314)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5247DB #D0DB47
analogous
#4786DB #5247DB #9C47DB
triadic
#5247DB #DB5247 #47DB52
tetradic
#5247DB #DB4786 #D0DB47 #47DB9C
square
#5247DB #DB4786 #D0DB47 #47DB9C
split-complementary
#5247DB #DB9C47 #86DB47
monochromatic
#241B8C #3125BF #5247DB #827AE5 #B2ADEF

Accessibility & contrast

On white

6.40
#5247DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#5247DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5247DB
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5247DB#FFFFFF#000000##FFFFFF
##5247DB1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E0
Deuteranopia (green-blind)
#0059D8
Tritanopia (blue-blind)
#006E8B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5247db;
/* rgb */ color: rgb(82, 71, 219);
/* oklch */ color: oklch(50.5% 0.216 278.6);
Tailwind
colors: {
  custom: {
    50: '#927be7',
    500: '#5247db',
    950: '#000000',
  },
}
SCSS
$custom: #5247db;
$custom-light: #927be7;
$custom-dark: #000000;
JSON
{
  "hex": "#5247db",
  "rgb": {
    "r": 82,
    "g": 71,
    "b": 219
  },
  "hsl": {
    "h": 244.459,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.50509,
    "c": 0.21623,
    "h": 278.6
  },
  "luminance": 0.11415
}

Semantic roles & 50–950 ramp

primary
#5247DB
secondary
#D9DDA1
accent
#EA3EDD
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5247DB

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

Preview Lab → · Contrast checker → · Palette generator →

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