#5250BB#5250BB

#5250BB is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.4% C 0.164 H 279.4°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#5250BB
RGBrgb(82, 80, 187)
HSLhsl(241, 44%, 52%)
HSVhsv(241, 57%, 73%)
CMYKcmyk(56.1%, 57.2%, 0%, 26.7%)
CIE-LABlab(39.78, 31.66, -56.41)
CIE-LCHlch(39.78, 64.68, 299.30°)
OKLaboklab(49.36% 0.0267 -0.1617)
OKLCHoklch(49.36% 0.164 279.4)
XYZxyz(15.3152, 11.1180, 48.3430)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5250BB #B9BB50
analogous
#5084BB #5250BB #8750BB
triadic
#5250BB #BB5250 #50BB52
tetradic
#5250BB #BB5084 #B9BB50 #50BB87
square
#5250BB #BB5084 #B9BB50 #50BB87
split-complementary
#5250BB #BB8750 #84BB50
monochromatic
#2A2868 #3B3A94 #5250BB #7E7CCC #A9A8DD

Accessibility & contrast

On white

6.51
#5250BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#5250BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5250BB
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5250BB#FFFFFF#000000##FFFFFF
##5250BB1.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#005AB9
Tritanopia (blue-blind)
#1B697E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5250bb;
/* rgb */ color: rgb(82, 80, 187);
/* oklch */ color: oklch(49.4% 0.164 279.4);
Tailwind
colors: {
  custom: {
    50: '#8c81d0',
    500: '#5250bb',
    950: '#000000',
  },
}
SCSS
$custom: #5250bb;
$custom-light: #8c81d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5250bb",
  "rgb": {
    "r": 82,
    "g": 80,
    "b": 187
  },
  "hsl": {
    "h": 241.121,
    "s": 44.033,
    "l": 52.353
  },
  "oklch": {
    "l": 0.49363,
    "c": 0.16389,
    "h": 279.4
  },
  "luminance": 0.11119
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5250BB

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

Preview Lab → · Contrast checker → · Palette generator →

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