#5250CF#5250CF

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

Color values

HEX#5250CF
RGBrgb(82, 80, 207)
HSLhsl(241, 57%, 56%)
HSVhsv(241, 61%, 81%)
CMYKcmyk(60.4%, 61.4%, 0%, 18.8%)
CIE-LABlab(41.27, 38.17, -65.60)
CIE-LCHlch(41.27, 75.90, 300.19°)
OKLaboklab(50.93% 0.0262 -0.1887)
OKLCHoklch(50.93% 0.191 277.9)
XYZxyz(17.6072, 12.0348, 60.4145)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5250CF #CDCF50
analogous
#508ECF #5250CF #9250CF
triadic
#5250CF #CF5250 #50CF52
tetradic
#5250CF #CF508E #CDCF50 #50CF92
square
#5250CF #CF508E #CDCF50 #50CF92
split-complementary
#5250CF #CF9250 #8ECF50
monochromatic
#252381 #3331B1 #5250CF #8180DC #B1B0E9

Accessibility & contrast

On white

6.16
#5250CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#5250CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5250CF
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5250CF#FFFFFF#000000##FFFFFF
##5250CF1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#005CCC
Tritanopia (blue-blind)
#006F88
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5250cf;
/* rgb */ color: rgb(82, 80, 207);
/* oklch */ color: oklch(50.9% 0.191 277.9);
Tailwind
colors: {
  custom: {
    50: '#8f81df',
    500: '#5250cf',
    950: '#000000',
  },
}
SCSS
$custom: #5250cf;
$custom-light: #8f81df;
$custom-dark: #000000;
JSON
{
  "hex": "#5250cf",
  "rgb": {
    "r": 82,
    "g": 80,
    "b": 207
  },
  "hsl": {
    "h": 240.945,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50934,
    "c": 0.19054,
    "h": 277.9
  },
  "luminance": 0.12036
}

Semantic roles & 50–950 ramp

primary
#5250CF
secondary
#D7D8A3
accent
#E048DE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5250CF

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

Preview Lab → · Contrast checker → · Palette generator →

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