#5250D7#5250D7

#5250D7 is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 51.6% C 0.201 H 277.4°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#5250D7
RGBrgb(82, 80, 215)
HSLhsl(241, 63%, 58%)
HSVhsv(241, 63%, 84%)
CMYKcmyk(61.9%, 62.8%, 0%, 15.7%)
CIE-LABlab(41.90, 40.77, -69.17)
CIE-LCHlch(41.90, 80.29, 300.51°)
OKLaboklab(51.59% 0.0257 -0.1992)
OKLCHoklch(51.59% 0.201 277.4)
XYZxyz(18.6101, 12.4360, 65.6965)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5250D7 #D5D750
analogous
#5091D7 #5250D7 #9550D7
triadic
#5250D7 #D75250 #50D752
tetradic
#5250D7 #D75091 #D5D750 #50D795
square
#5250D7 #D75091 #D5D750 #50D795
split-complementary
#5250D7 #D79550 #91D750
monochromatic
#22208C #2E2BBE #5250D7 #8382E2 #B4B4EE

Accessibility & contrast

On white

6.02
#5250D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#5250D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5250D7
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5250D7#FFFFFF#000000##FFFFFF
##5250D71.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DB
Deuteranopia (green-blind)
#005DD4
Tritanopia (blue-blind)
#00728C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5250d7;
/* rgb */ color: rgb(82, 80, 215);
/* oklch */ color: oklch(51.6% 0.201 277.4);
Tailwind
colors: {
  custom: {
    50: '#9081e4',
    500: '#5250d7',
    950: '#000000',
  },
}
SCSS
$custom: #5250d7;
$custom-light: #9081e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5250d7",
  "rgb": {
    "r": 82,
    "g": 80,
    "b": 215
  },
  "hsl": {
    "h": 240.889,
    "s": 62.791,
    "l": 57.843
  },
  "oklch": {
    "l": 0.51592,
    "c": 0.20088,
    "h": 277.4
  },
  "luminance": 0.12437
}

Semantic roles & 50–950 ramp

primary
#5250D7
secondary
#DCDCA6
accent
#E642E3
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5250D7

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

Preview Lab → · Contrast checker → · Palette generator →

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