#5250E2#5250E2

#5250E2 is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.5% C 0.215 H 276.6°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#5250E2
RGBrgb(82, 80, 226)
HSLhsl(241, 72%, 60%)
HSVhsv(241, 65%, 89%)
CMYKcmyk(63.7%, 64.6%, 0%, 11.4%)
CIE-LABlab(42.79, 44.33, -73.99)
CIE-LCHlch(42.79, 86.25, 300.92°)
OKLaboklab(52.52% 0.0248 -0.2133)
OKLCHoklch(52.52% 0.215 276.6)
XYZxyz(20.0713, 13.0205, 73.3922)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5250E2 #E0E250
analogous
#5097E2 #5250E2 #9B50E2
triadic
#5250E2 #E25250 #50E252
tetradic
#5250E2 #E25097 #E0E250 #50E29B
square
#5250E2 #E25097 #E0E250 #50E29B
split-complementary
#5250E2 #E29B50 #97E250
monochromatic
#1C1A9E #2523D2 #5250E2 #8684EB #BAB9F3

Accessibility & contrast

On white

5.83
#5250E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#5250E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5250E2
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5250E2#FFFFFF#000000##FFFFFF
##5250E21.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE7
Deuteranopia (green-blind)
#005FDF
Tritanopia (blue-blind)
#007692
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5250e2;
/* rgb */ color: rgb(82, 80, 226);
/* oklch */ color: oklch(52.5% 0.215 276.6);
Tailwind
colors: {
  custom: {
    50: '#9282ec',
    500: '#5250e2',
    950: '#000000',
  },
}
SCSS
$custom: #5250e2;
$custom-light: #9282ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5250e2",
  "rgb": {
    "r": 82,
    "g": 80,
    "b": 226
  },
  "hsl": {
    "h": 240.822,
    "s": 71.569,
    "l": 60
  },
  "oklch": {
    "l": 0.5252,
    "c": 0.21479,
    "h": 276.6
  },
  "luminance": 0.13022
}

Semantic roles & 50–950 ramp

primary
#5250E2
secondary
#E2E3AB
accent
#EE39EC
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5250E2

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

Preview Lab → · Contrast checker → · Palette generator →

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