#5250E6#5250E6

#5250E6 is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 52.9% C 0.220 H 276.4°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#5250E6
RGBrgb(82, 80, 230)
HSLhsl(241, 75%, 61%)
HSVhsv(241, 65%, 90%)
CMYKcmyk(64.3%, 65.2%, 0%, 9.8%)
CIE-LABlab(43.13, 45.61, -75.72)
CIE-LCHlch(43.13, 88.39, 301.07°)
OKLaboklab(52.86% 0.0245 -0.2184)
OKLCHoklch(52.86% 0.22 276.4)
XYZxyz(20.6266, 13.2426, 76.3167)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5250E6 #E4E650
analogous
#5099E6 #5250E6 #9D50E6
triadic
#5250E6 #E65250 #50E652
tetradic
#5250E6 #E65099 #E4E650 #50E69D
square
#5250E6 #E65099 #E4E650 #50E69D
split-complementary
#5250E6 #E69D50 #99E650
monochromatic
#1917A4 #221FDA #5250E6 #8786EE #BCBBF5

Accessibility & contrast

On white

5.76
#5250E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#5250E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5250E6
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5250E6#FFFFFF#000000##FFFFFF
##5250E61.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5250e6;
/* rgb */ color: rgb(82, 80, 230);
/* oklch */ color: oklch(52.9% 0.220 276.4);
Tailwind
colors: {
  custom: {
    50: '#9382ef',
    500: '#5250e6',
    950: '#000000',
  },
}
SCSS
$custom: #5250e6;
$custom-light: #9382ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5250e6",
  "rgb": {
    "r": 82,
    "g": 80,
    "b": 230
  },
  "hsl": {
    "h": 240.8,
    "s": 75,
    "l": 60.784
  },
  "oklch": {
    "l": 0.52864,
    "c": 0.21978,
    "h": 276.4
  },
  "luminance": 0.13244
}

Semantic roles & 50–950 ramp

primary
#5250E6
secondary
#E5E5AC
accent
#D70ED4
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #5250E6

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

Preview Lab → · Contrast checker → · Palette generator →

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