#5250E7#5250E7

#5250E7 is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 53.0% C 0.221 H 276.3°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#5250E7
RGBrgb(82, 80, 231)
HSLhsl(241, 76%, 61%)
HSVhsv(241, 65%, 91%)
CMYKcmyk(64.5%, 65.4%, 0%, 9.4%)
CIE-LABlab(43.21, 45.93, -76.14)
CIE-LCHlch(43.21, 88.93, 301.10°)
OKLaboklab(52.95% 0.0244 -0.2197)
OKLCHoklch(52.95% 0.221 276.3)
XYZxyz(20.7674, 13.2989, 77.0583)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5250E7 #E5E750
analogous
#5099E7 #5250E7 #9D50E7
triadic
#5250E7 #E75250 #50E752
tetradic
#5250E7 #E75099 #E5E750 #50E79D
square
#5250E7 #E75099 #E5E750 #50E79D
split-complementary
#5250E7 #E79D50 #99E750
monochromatic
#1917A6 #211EDC #5250E7 #8786EE #BCBCF6

Accessibility & contrast

On white

5.74
#5250E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#5250E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5250E7
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5250E7#FFFFFF#000000##FFFFFF
##5250E71.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEC
Deuteranopia (green-blind)
#005FE4
Tritanopia (blue-blind)
#007795
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5250e7;
/* rgb */ color: rgb(82, 80, 231);
/* oklch */ color: oklch(53.0% 0.221 276.3);
Tailwind
colors: {
  custom: {
    50: '#9382f0',
    500: '#5250e7',
    950: '#000000',
  },
}
SCSS
$custom: #5250e7;
$custom-light: #9382f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5250e7",
  "rgb": {
    "r": 82,
    "g": 80,
    "b": 231
  },
  "hsl": {
    "h": 240.795,
    "s": 75.879,
    "l": 60.98
  },
  "oklch": {
    "l": 0.52951,
    "c": 0.22102,
    "h": 276.3
  },
  "luminance": 0.13301
}

Semantic roles & 50–950 ramp

primary
#5250E7
secondary
#E5E6AD
accent
#D80DD5
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #5250E7

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

Preview Lab → · Contrast checker → · Palette generator →

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