#5250C8#5250C8

#5250C8 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.4% C 0.181 H 278.4°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#5250C8
RGBrgb(82, 80, 200)
HSLhsl(241, 52%, 55%)
HSVhsv(241, 60%, 78%)
CMYKcmyk(59%, 60%, 0%, 21.6%)
CIE-LABlab(40.74, 35.89, -62.43)
CIE-LCHlch(40.74, 72.01, 299.89°)
OKLaboklab(50.37% 0.0265 -0.1794)
OKLCHoklch(50.37% 0.181 278.4)
XYZxyz(16.7703, 11.7001, 56.0070)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5250C8 #C6C850
analogous
#508AC8 #5250C8 #8E50C8
triadic
#5250C8 #C85250 #50C852
tetradic
#5250C8 #C8508A #C6C850 #50C88E
square
#5250C8 #C8508A #C6C850 #50C88E
split-complementary
#5250C8 #C88E50 #8AC850
monochromatic
#272678 #3634A6 #5250C8 #807FD7 #AEADE5

Accessibility & contrast

On white

6.29
#5250C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#5250C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5250C8
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5250C8#FFFFFF#000000##FFFFFF
##5250C81.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#005BC6
Tritanopia (blue-blind)
#006D84
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5250c8;
/* rgb */ color: rgb(82, 80, 200);
/* oklch */ color: oklch(50.4% 0.181 278.4);
Tailwind
colors: {
  custom: {
    50: '#8e81da',
    500: '#5250c8',
    950: '#000000',
  },
}
SCSS
$custom: #5250c8;
$custom-light: #8e81da;
$custom-dark: #000000;
JSON
{
  "hex": "#5250c8",
  "rgb": {
    "r": 82,
    "g": 80,
    "b": 200
  },
  "hsl": {
    "h": 241,
    "s": 52.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.50372,
    "c": 0.18136,
    "h": 278.4
  },
  "luminance": 0.11701
}

Semantic roles & 50–950 ramp

primary
#5250C8
secondary
#D2D3A1
accent
#DC4CD9
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #5250C8

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

Preview Lab → · Contrast checker → · Palette generator →

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