#5250CA#5250CA

#5250CA is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.5% C 0.184 H 278.3°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#5250CA
RGBrgb(82, 80, 202)
HSLhsl(241, 54%, 55%)
HSVhsv(241, 60%, 79%)
CMYKcmyk(59.4%, 60.4%, 0%, 20.8%)
CIE-LABlab(40.89, 36.54, -63.34)
CIE-LCHlch(40.89, 73.12, 299.98°)
OKLaboklab(50.53% 0.0264 -0.1821)
OKLCHoklch(50.53% 0.184 278.3)
XYZxyz(17.0056, 11.7942, 57.2460)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5250CA #C8CA50
analogous
#508BCA #5250CA #8F50CA
triadic
#5250CA #CA5250 #50CA52
tetradic
#5250CA #CA508B #C8CA50 #50CA8F
square
#5250CA #CA508B #C8CA50 #50CA8F
split-complementary
#5250CA #CA8F50 #8BCA50
monochromatic
#27257A #3533A9 #5250CA #807FD8 #AFAEE6

Accessibility & contrast

On white

6.25
#5250CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#5250CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5250CA
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5250CA#FFFFFF#000000##FFFFFF
##5250CA1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#005BC8
Tritanopia (blue-blind)
#006E85
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5250ca;
/* rgb */ color: rgb(82, 80, 202);
/* oklch */ color: oklch(50.5% 0.184 278.3);
Tailwind
colors: {
  custom: {
    50: '#8e81db',
    500: '#5250ca',
    950: '#000000',
  },
}
SCSS
$custom: #5250ca;
$custom-light: #8e81db;
$custom-dark: #000000;
JSON
{
  "hex": "#5250ca",
  "rgb": {
    "r": 82,
    "g": 80,
    "b": 202
  },
  "hsl": {
    "h": 240.984,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.50531,
    "c": 0.184,
    "h": 278.3
  },
  "luminance": 0.11795
}

Semantic roles & 50–950 ramp

primary
#5250CA
secondary
#D4D4A1
accent
#DD4BDB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #5250CA

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

Preview Lab → · Contrast checker → · Palette generator →

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