#5250D8#5250D8

#5250D8 is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 51.7% C 0.202 H 277.3°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#5250D8
RGBrgb(82, 80, 216)
HSLhsl(241, 64%, 58%)
HSVhsv(241, 63%, 85%)
CMYKcmyk(62%, 63%, 0%, 15.3%)
CIE-LABlab(41.98, 41.09, -69.61)
CIE-LCHlch(41.98, 80.84, 300.55°)
OKLaboklab(51.68% 0.0257 -0.2005)
OKLCHoklch(51.68% 0.202 277.3)
XYZxyz(18.7390, 12.4875, 66.3753)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5250D8 #D6D850
analogous
#5092D8 #5250D8 #9650D8
triadic
#5250D8 #D85250 #50D852
tetradic
#5250D8 #D85092 #D6D850 #50D896
square
#5250D8 #D85092 #D6D850 #50D896
split-complementary
#5250D8 #D89650 #92D850
monochromatic
#21208E #2D2BC0 #5250D8 #8382E3 #B5B4EE

Accessibility & contrast

On white

6.00
#5250D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#5250D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5250D8
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5250D8#FFFFFF#000000##FFFFFF
##5250D81.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DC
Deuteranopia (green-blind)
#005DD5
Tritanopia (blue-blind)
#00728D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5250d8;
/* rgb */ color: rgb(82, 80, 216);
/* oklch */ color: oklch(51.7% 0.202 277.3);
Tailwind
colors: {
  custom: {
    50: '#9181e5',
    500: '#5250d8',
    950: '#000000',
  },
}
SCSS
$custom: #5250d8;
$custom-light: #9181e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5250d8",
  "rgb": {
    "r": 82,
    "g": 80,
    "b": 216
  },
  "hsl": {
    "h": 240.882,
    "s": 63.551,
    "l": 58.039
  },
  "oklch": {
    "l": 0.51675,
    "c": 0.20216,
    "h": 277.3
  },
  "luminance": 0.12489
}

Semantic roles & 50–950 ramp

primary
#5250D8
secondary
#DCDDA7
accent
#E741E4
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5250D8

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

Preview Lab → · Contrast checker → · Palette generator →

#5250D8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva