#5250CB#5250CB

#5250CB is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.6% C 0.185 H 278.2°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#5250CB
RGBrgb(82, 80, 203)
HSLhsl(241, 54%, 55%)
HSVhsv(241, 61%, 80%)
CMYKcmyk(59.6%, 60.6%, 0%, 20.4%)
CIE-LABlab(40.96, 36.87, -63.79)
CIE-LCHlch(40.96, 73.68, 300.02°)
OKLaboklab(50.61% 0.0264 -0.1834)
OKLCHoklch(50.61% 0.185 278.2)
XYZxyz(17.1244, 11.8417, 57.8716)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5250CB #C9CB50
analogous
#508BCB #5250CB #9050CB
triadic
#5250CB #CB5250 #50CB52
tetradic
#5250CB #CB508B #C9CB50 #50CB90
square
#5250CB #CB508B #C9CB50 #50CB90
split-complementary
#5250CB #CB9050 #8BCB50
monochromatic
#26257C #3533AB #5250CB #817FD9 #AFAEE7

Accessibility & contrast

On white

6.23
#5250CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#5250CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5250CB
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5250CB#FFFFFF#000000##FFFFFF
##5250CB1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#005CC9
Tritanopia (blue-blind)
#006E86
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5250cb;
/* rgb */ color: rgb(82, 80, 203);
/* oklch */ color: oklch(50.6% 0.185 278.2);
Tailwind
colors: {
  custom: {
    50: '#8e81dc',
    500: '#5250cb',
    950: '#000000',
  },
}
SCSS
$custom: #5250cb;
$custom-light: #8e81dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5250cb",
  "rgb": {
    "r": 82,
    "g": 80,
    "b": 203
  },
  "hsl": {
    "h": 240.976,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.50612,
    "c": 0.18531,
    "h": 278.2
  },
  "luminance": 0.11843
}

Semantic roles & 50–950 ramp

primary
#5250CB
secondary
#D4D5A2
accent
#DE4ADB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #5250CB

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

Preview Lab → · Contrast checker → · Palette generator →

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