#5250E5#5250E5

#5250E5 is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 52.8% C 0.219 H 276.5°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#5250E5
RGBrgb(82, 80, 229)
HSLhsl(241, 74%, 61%)
HSVhsv(241, 65%, 90%)
CMYKcmyk(64.2%, 65.1%, 0%, 10.2%)
CIE-LABlab(43.04, 45.29, -75.28)
CIE-LCHlch(43.04, 87.86, 301.03°)
OKLaboklab(52.78% 0.0246 -0.2171)
OKLCHoklch(52.78% 0.219 276.5)
XYZxyz(20.4866, 13.1866, 75.5792)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5250E5 #E3E550
analogous
#5099E5 #5250E5 #9C50E5
triadic
#5250E5 #E55250 #50E552
tetradic
#5250E5 #E55099 #E3E550 #50E59C
square
#5250E5 #E55099 #E3E550 #50E59C
split-complementary
#5250E5 #E59C50 #99E550
monochromatic
#1A18A2 #2320D8 #5250E5 #8785ED #BBBBF5

Accessibility & contrast

On white

5.77
#5250E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#5250E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5250E5
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5250E5#FFFFFF#000000##FFFFFF
##5250E51.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEA
Deuteranopia (green-blind)
#005FE2
Tritanopia (blue-blind)
#007794
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5250e5;
/* rgb */ color: rgb(82, 80, 229);
/* oklch */ color: oklch(52.8% 0.219 276.5);
Tailwind
colors: {
  custom: {
    50: '#9382ee',
    500: '#5250e5',
    950: '#000000',
  },
}
SCSS
$custom: #5250e5;
$custom-light: #9382ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5250e5",
  "rgb": {
    "r": 82,
    "g": 80,
    "b": 229
  },
  "hsl": {
    "h": 240.805,
    "s": 74.129,
    "l": 60.588
  },
  "oklch": {
    "l": 0.52778,
    "c": 0.21853,
    "h": 276.5
  },
  "luminance": 0.13188
}

Semantic roles & 50–950 ramp

primary
#5250E5
secondary
#E4E5AC
accent
#D60FD4
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #5250E5

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

Preview Lab → · Contrast checker → · Palette generator →

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