#5250B7#5250B7

#5250B7 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.1% C 0.158 H 279.7°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#5250B7
RGBrgb(82, 80, 183)
HSLhsl(241, 42%, 52%)
HSVhsv(241, 56%, 72%)
CMYKcmyk(55.2%, 56.3%, 0%, 28.2%)
CIE-LABlab(39.49, 30.36, -54.52)
CIE-LCHlch(39.49, 62.40, 299.11°)
OKLaboklab(49.06% 0.0267 -0.1561)
OKLCHoklch(49.06% 0.158 279.7)
XYZxyz(14.8929, 10.9491, 46.1192)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5250B7 #B5B750
analogous
#5082B7 #5250B7 #8650B7
triadic
#5250B7 #B75250 #50B752
tetradic
#5250B7 #B75082 #B5B750 #50B786
square
#5250B7 #B75082 #B5B750 #50B786
split-complementary
#5250B7 #B78650 #82B750
monochromatic
#2A2964 #3C3B8F #5250B7 #7D7BC9 #A8A7DB

Accessibility & contrast

On white

6.58
#5250B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#5250B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5250B7
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5250B7#FFFFFF#000000##FFFFFF
##5250B71.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0161BA
Deuteranopia (green-blind)
#0059B5
Tritanopia (blue-blind)
#21687B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5250b7;
/* rgb */ color: rgb(82, 80, 183);
/* oklch */ color: oklch(49.1% 0.158 279.7);
Tailwind
colors: {
  custom: {
    50: '#8b81cd',
    500: '#5250b7',
    950: '#000000',
  },
}
SCSS
$custom: #5250b7;
$custom-light: #8b81cd;
$custom-dark: #000000;
JSON
{
  "hex": "#5250b7",
  "rgb": {
    "r": 82,
    "g": 80,
    "b": 183
  },
  "hsl": {
    "h": 241.165,
    "s": 41.7,
    "l": 51.569
  },
  "oklch": {
    "l": 0.49062,
    "c": 0.15841,
    "h": 279.7
  },
  "luminance": 0.1095
}

Semantic roles & 50–950 ramp

primary
#5250B7
secondary
#C7C89B
accent
#D256CF
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #5250B7

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

Preview Lab → · Contrast checker → · Palette generator →

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