#5250E0#5250E0

#5250E0 is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.3% C 0.212 H 276.8°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#5250E0
RGBrgb(82, 80, 224)
HSLhsl(241, 70%, 60%)
HSVhsv(241, 64%, 88%)
CMYKcmyk(63.4%, 64.3%, 0%, 12.2%)
CIE-LABlab(42.63, 43.68, -73.12)
CIE-LCHlch(42.63, 85.17, 300.85°)
OKLaboklab(52.35% 0.025 -0.2108)
OKLCHoklch(52.35% 0.212 276.8)
XYZxyz(19.7985, 12.9113, 71.9554)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5250E0 #DEE050
analogous
#5096E0 #5250E0 #9A50E0
triadic
#5250E0 #E05250 #50E052
tetradic
#5250E0 #E05096 #DEE050 #50E09A
square
#5250E0 #E05096 #DEE050 #50E09A
split-complementary
#5250E0 #E09A50 #96E050
monochromatic
#1D1B9A #2725CE #5250E0 #8584E9 #B9B8F2

Accessibility & contrast

On white

5.86
#5250E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#5250E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5250E0
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5250E0#FFFFFF#000000##FFFFFF
##5250E01.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5250e0;
/* rgb */ color: rgb(82, 80, 224);
/* oklch */ color: oklch(52.3% 0.212 276.8);
Tailwind
colors: {
  custom: {
    50: '#9282eb',
    500: '#5250e0',
    950: '#000000',
  },
}
SCSS
$custom: #5250e0;
$custom-light: #9282eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5250e0",
  "rgb": {
    "r": 82,
    "g": 80,
    "b": 224
  },
  "hsl": {
    "h": 240.833,
    "s": 69.903,
    "l": 59.608
  },
  "oklch": {
    "l": 0.52349,
    "c": 0.21229,
    "h": 276.8
  },
  "luminance": 0.12913
}

Semantic roles & 50–950 ramp

primary
#5250E0
secondary
#E1E2AA
accent
#ED3BEA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5250E0

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

Preview Lab → · Contrast checker → · Palette generator →

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