#5250E1#5250E1

#5250E1 is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.4% C 0.214 H 276.7°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#5250E1
RGBrgb(82, 80, 225)
HSLhsl(241, 71%, 60%)
HSVhsv(241, 64%, 88%)
CMYKcmyk(63.6%, 64.4%, 0%, 11.8%)
CIE-LABlab(42.71, 44.00, -73.56)
CIE-LCHlch(42.71, 85.71, 300.89°)
OKLaboklab(52.43% 0.0249 -0.2121)
OKLCHoklch(52.43% 0.214 276.7)
XYZxyz(19.9345, 12.9658, 72.6717)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5250E1 #DFE150
analogous
#5096E1 #5250E1 #9B50E1
triadic
#5250E1 #E15250 #50E152
tetradic
#5250E1 #E15096 #DFE150 #50E19B
square
#5250E1 #E15096 #DFE150 #50E19B
split-complementary
#5250E1 #E19B50 #96E150
monochromatic
#1D1B9C #2624D0 #5250E1 #8684EA #B9B8F3

Accessibility & contrast

On white

5.84
#5250E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#5250E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5250E1
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5250E1#FFFFFF#000000##FFFFFF
##5250E11.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE6
Deuteranopia (green-blind)
#005FDE
Tritanopia (blue-blind)
#007591
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5250e1;
/* rgb */ color: rgb(82, 80, 225);
/* oklch */ color: oklch(52.4% 0.214 276.7);
Tailwind
colors: {
  custom: {
    50: '#9282eb',
    500: '#5250e1',
    950: '#000000',
  },
}
SCSS
$custom: #5250e1;
$custom-light: #9282eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5250e1",
  "rgb": {
    "r": 82,
    "g": 80,
    "b": 225
  },
  "hsl": {
    "h": 240.828,
    "s": 70.732,
    "l": 59.804
  },
  "oklch": {
    "l": 0.52434,
    "c": 0.21354,
    "h": 276.7
  },
  "luminance": 0.12967
}

Semantic roles & 50–950 ramp

primary
#5250E1
secondary
#E2E2AA
accent
#ED3AEB
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5250E1

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

Preview Lab → · Contrast checker → · Palette generator →

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