#5250BC#5250BC

#5250BC is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.4% C 0.165 H 279.3°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#5250BC
RGBrgb(82, 80, 188)
HSLhsl(241, 45%, 53%)
HSVhsv(241, 57%, 74%)
CMYKcmyk(56.4%, 57.4%, 0%, 26.3%)
CIE-LABlab(39.85, 31.98, -56.88)
CIE-LCHlch(39.85, 65.25, 299.35°)
OKLaboklab(49.44% 0.0267 -0.1631)
OKLCHoklch(49.44% 0.165 279.3)
XYZxyz(15.4226, 11.1610, 48.9088)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5250BC #BABC50
analogous
#5084BC #5250BC #8850BC
triadic
#5250BC #BC5250 #50BC52
tetradic
#5250BC #BC5084 #BABC50 #50BC88
square
#5250BC #BC5084 #BABC50 #50BC88
split-complementary
#5250BC #BC8850 #84BC50
monochromatic
#2A2869 #3B3996 #5250BC #7E7CCD #AAA9DE

Accessibility & contrast

On white

6.50
#5250BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#5250BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5250BC
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5250BC#FFFFFF#000000##FFFFFF
##5250BC1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#005ABA
Tritanopia (blue-blind)
#19697E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5250bc;
/* rgb */ color: rgb(82, 80, 188);
/* oklch */ color: oklch(49.4% 0.165 279.3);
Tailwind
colors: {
  custom: {
    50: '#8c81d1',
    500: '#5250bc',
    950: '#000000',
  },
}
SCSS
$custom: #5250bc;
$custom-light: #8c81d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5250bc",
  "rgb": {
    "r": 82,
    "g": 80,
    "b": 188
  },
  "hsl": {
    "h": 241.111,
    "s": 44.628,
    "l": 52.549
  },
  "oklch": {
    "l": 0.49439,
    "c": 0.16525,
    "h": 279.3
  },
  "luminance": 0.11162
}

Semantic roles & 50–950 ramp

primary
#5250BC
secondary
#CACB9C
accent
#D453D2
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #5250BC

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

Preview Lab → · Contrast checker → · Palette generator →

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