#5250C6#5250C6

#5250C6 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.2% C 0.179 H 278.6°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#5250C6
RGBrgb(82, 80, 198)
HSLhsl(241, 51%, 55%)
HSVhsv(241, 60%, 78%)
CMYKcmyk(58.6%, 59.6%, 0%, 22.4%)
CIE-LABlab(40.58, 35.24, -61.51)
CIE-LCHlch(40.58, 70.89, 299.81°)
OKLaboklab(50.21% 0.0266 -0.1767)
OKLCHoklch(50.21% 0.179 278.6)
XYZxyz(16.5381, 11.6072, 54.7841)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5250C6 #C4C650
analogous
#5089C6 #5250C6 #8D50C6
triadic
#5250C6 #C65250 #50C652
tetradic
#5250C6 #C65089 #C4C650 #50C68D
square
#5250C6 #C65089 #C4C650 #50C68D
split-complementary
#5250C6 #C68D50 #89C650
monochromatic
#282675 #3735A4 #5250C6 #807ED5 #ADACE4

Accessibility & contrast

On white

6.32
#5250C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#5250C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5250C6
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5250C6#FFFFFF#000000##FFFFFF
##5250C61.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CA
Deuteranopia (green-blind)
#005BC4
Tritanopia (blue-blind)
#006C83
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5250c6;
/* rgb */ color: rgb(82, 80, 198);
/* oklch */ color: oklch(50.2% 0.179 278.6);
Tailwind
colors: {
  custom: {
    50: '#8d81d8',
    500: '#5250c6',
    950: '#000000',
  },
}
SCSS
$custom: #5250c6;
$custom-light: #8d81d8;
$custom-dark: #000000;
JSON
{
  "hex": "#5250c6",
  "rgb": {
    "r": 82,
    "g": 80,
    "b": 198
  },
  "hsl": {
    "h": 241.017,
    "s": 50.862,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50214,
    "c": 0.17871,
    "h": 278.6
  },
  "luminance": 0.11608
}

Semantic roles & 50–950 ramp

primary
#5250C6
secondary
#D1D2A0
accent
#DA4DD8
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #5250C6

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

Preview Lab → · Contrast checker → · Palette generator →

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