#5250DA#5250DA

#5250DA is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 51.8% C 0.205 H 277.2°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#5250DA
RGBrgb(82, 80, 218)
HSLhsl(241, 65%, 58%)
HSVhsv(241, 63%, 85%)
CMYKcmyk(62.4%, 63.3%, 0%, 14.5%)
CIE-LABlab(42.14, 41.74, -70.50)
CIE-LCHlch(42.14, 81.93, 300.63°)
OKLaboklab(51.84% 0.0255 -0.2031)
OKLCHoklch(51.84% 0.205 277.2)
XYZxyz(18.9991, 12.5916, 67.7453)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5250DA #D8DA50
analogous
#5093DA #5250DA #9750DA
triadic
#5250DA #DA5250 #50DA52
tetradic
#5250DA #DA5093 #D8DA50 #50DA97
square
#5250DA #DA5093 #D8DA50 #50DA97
split-complementary
#5250DA #DA9750 #93DA50
monochromatic
#201F91 #2C29C3 #5250DA #8483E5 #B6B5EF

Accessibility & contrast

On white

5.97
#5250DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#5250DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5250DA
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5250DA#FFFFFF#000000##FFFFFF
##5250DA1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DE
Deuteranopia (green-blind)
#005ED7
Tritanopia (blue-blind)
#00738E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5250da;
/* rgb */ color: rgb(82, 80, 218);
/* oklch */ color: oklch(51.8% 0.205 277.2);
Tailwind
colors: {
  custom: {
    50: '#9181e6',
    500: '#5250da',
    950: '#000000',
  },
}
SCSS
$custom: #5250da;
$custom-light: #9181e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5250da",
  "rgb": {
    "r": 82,
    "g": 80,
    "b": 218
  },
  "hsl": {
    "h": 240.87,
    "s": 65.094,
    "l": 58.431
  },
  "oklch": {
    "l": 0.51842,
    "c": 0.20471,
    "h": 277.2
  },
  "luminance": 0.12593
}

Semantic roles & 50–950 ramp

primary
#5250DA
secondary
#DDDEA8
accent
#E840E6
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5250DA

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

Preview Lab → · Contrast checker → · Palette generator →

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