#5250BF#5250BF

#5250BF is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.7% C 0.169 H 279.1°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#5250BF
RGBrgb(82, 80, 191)
HSLhsl(241, 46%, 53%)
HSVhsv(241, 58%, 75%)
CMYKcmyk(57.1%, 58.1%, 0%, 25.1%)
CIE-LABlab(40.07, 32.96, -58.28)
CIE-LCHlch(40.07, 66.95, 299.49°)
OKLaboklab(49.67% 0.0267 -0.1672)
OKLCHoklch(49.67% 0.169 279.1)
XYZxyz(15.7493, 11.2917, 50.6297)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5250BF #BDBF50
analogous
#5085BF #5250BF #8950BF
triadic
#5250BF #BF5250 #50BF52
tetradic
#5250BF #BF5085 #BDBF50 #50BF89
square
#5250BF #BF5085 #BDBF50 #50BF89
split-complementary
#5250BF #BF8950 #85BF50
monochromatic
#29286D #3A389A #5250BF #7E7DCF #ABAAE0

Accessibility & contrast

On white

6.44
#5250BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#5250BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5250BF
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5250BF#FFFFFF#000000##FFFFFF
##5250BF1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#005ABD
Tritanopia (blue-blind)
#136A80
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5250bf;
/* rgb */ color: rgb(82, 80, 191);
/* oklch */ color: oklch(49.7% 0.169 279.1);
Tailwind
colors: {
  custom: {
    50: '#8c81d3',
    500: '#5250bf',
    950: '#000000',
  },
}
SCSS
$custom: #5250bf;
$custom-light: #8c81d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5250bf",
  "rgb": {
    "r": 82,
    "g": 80,
    "b": 191
  },
  "hsl": {
    "h": 241.081,
    "s": 46.444,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49669,
    "c": 0.16932,
    "h": 279.1
  },
  "luminance": 0.11293
}

Semantic roles & 50–950 ramp

primary
#5250BF
secondary
#CCCD9D
accent
#D652D4
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #5250BF

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

Preview Lab → · Contrast checker → · Palette generator →

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