#5250CE#5250CE

#5250CE is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.9% C 0.189 H 278.0°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#5250CE
RGBrgb(82, 80, 206)
HSLhsl(241, 56%, 56%)
HSVhsv(241, 61%, 81%)
CMYKcmyk(60.2%, 61.2%, 0%, 19.2%)
CIE-LABlab(41.19, 37.84, -65.15)
CIE-LCHlch(41.19, 75.34, 300.15°)
OKLaboklab(50.85% 0.0263 -0.1874)
OKLCHoklch(50.85% 0.189 278)
XYZxyz(17.4853, 11.9861, 59.7727)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5250CE #CCCE50
analogous
#508DCE #5250CE #9150CE
triadic
#5250CE #CE5250 #50CE52
tetradic
#5250CE #CE508D #CCCE50 #50CE91
square
#5250CE #CE508D #CCCE50 #50CE91
split-complementary
#5250CE #CE9150 #8DCE50
monochromatic
#252480 #3331B0 #5250CE #8180DB #B1B0E9

Accessibility & contrast

On white

6.18
#5250CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#5250CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5250CE
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5250CE#FFFFFF#000000##FFFFFF
##5250CE1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D2
Deuteranopia (green-blind)
#005CCB
Tritanopia (blue-blind)
#006F87
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5250ce;
/* rgb */ color: rgb(82, 80, 206);
/* oklch */ color: oklch(50.9% 0.189 278.0);
Tailwind
colors: {
  custom: {
    50: '#8f81de',
    500: '#5250ce',
    950: '#000000',
  },
}
SCSS
$custom: #5250ce;
$custom-light: #8f81de;
$custom-dark: #000000;
JSON
{
  "hex": "#5250ce",
  "rgb": {
    "r": 82,
    "g": 80,
    "b": 206
  },
  "hsl": {
    "h": 240.952,
    "s": 56.25,
    "l": 56.078
  },
  "oklch": {
    "l": 0.50853,
    "c": 0.18924,
    "h": 278
  },
  "luminance": 0.11987
}

Semantic roles & 50–950 ramp

primary
#5250CE
secondary
#D6D7A3
accent
#E048DD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5250CE

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

Preview Lab → · Contrast checker → · Palette generator →

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