#5250DC#5250DC

#5250DC is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.0% C 0.207 H 277.0°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#5250DC
RGBrgb(82, 80, 220)
HSLhsl(241, 67%, 59%)
HSVhsv(241, 64%, 86%)
CMYKcmyk(62.7%, 63.6%, 0%, 13.7%)
CIE-LABlab(42.30, 42.39, -71.38)
CIE-LCHlch(42.30, 83.01, 300.70°)
OKLaboklab(52.01% 0.0254 -0.2057)
OKLCHoklch(52.01% 0.207 277)
XYZxyz(19.2624, 12.6969, 69.1319)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5250DC #DADC50
analogous
#5094DC #5250DC #9850DC
triadic
#5250DC #DC5250 #50DC52
tetradic
#5250DC #DC5094 #DADC50 #50DC98
square
#5250DC #DC5094 #DADC50 #50DC98
split-complementary
#5250DC #DC9850 #94DC50
monochromatic
#1F1E94 #2A28C7 #5250DC #8483E6 #B7B6F0

Accessibility & contrast

On white

5.93
#5250DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#5250DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5250DC
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5250DC#FFFFFF#000000##FFFFFF
##5250DC1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE0
Deuteranopia (green-blind)
#005ED9
Tritanopia (blue-blind)
#00748F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5250dc;
/* rgb */ color: rgb(82, 80, 220);
/* oklch */ color: oklch(52.0% 0.207 277.0);
Tailwind
colors: {
  custom: {
    50: '#9181e8',
    500: '#5250dc',
    950: '#000000',
  },
}
SCSS
$custom: #5250dc;
$custom-light: #9181e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5250dc",
  "rgb": {
    "r": 82,
    "g": 80,
    "b": 220
  },
  "hsl": {
    "h": 240.857,
    "s": 66.667,
    "l": 58.824
  },
  "oklch": {
    "l": 0.5201,
    "c": 0.20725,
    "h": 277
  },
  "luminance": 0.12698
}

Semantic roles & 50–950 ramp

primary
#5250DC
secondary
#DFDFA8
accent
#EA3EE7
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5250DC

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

Preview Lab → · Contrast checker → · Palette generator →

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