#5248AE#5248AE

#5248AE is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.9% C 0.157 H 283.0°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#5248AE
RGBrgb(82, 72, 174)
HSLhsl(246, 41%, 48%)
HSVhsv(246, 59%, 68%)
CMYKcmyk(52.9%, 58.6%, 0%, 31.8%)
CIE-LABlab(36.90, 32.44, -53.40)
CIE-LCHlch(36.90, 62.48, 301.28°)
OKLaboklab(46.94% 0.0352 -0.1529)
OKLCHoklch(46.94% 0.157 283)
XYZxyz(13.4347, 9.4838, 41.1588)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5248AE #A4AE48
analogous
#4871AE #5248AE #8548AE
triadic
#5248AE #AE5248 #48AE52
tetradic
#5248AE #AE4871 #A4AE48 #48AE85
square
#5248AE #AE4871 #A4AE48 #48AE85
split-complementary
#5248AE #AE8548 #71AE48
monochromatic
#292457 #3E3683 #5248AE #7870C4 #A19BD6

Accessibility & contrast

On white

7.25
#5248AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#5248AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5248AE
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5248AE#FFFFFF#000000##FFFFFF
##5248AE1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB1
Deuteranopia (green-blind)
#0053AC
Tritanopia (blue-blind)
#2C6074
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5248ae;
/* rgb */ color: rgb(82, 72, 174);
/* oklch */ color: oklch(46.9% 0.157 283.0);
Tailwind
colors: {
  custom: {
    50: '#8a7bc7',
    500: '#5248ae',
    950: '#000000',
  },
}
SCSS
$custom: #5248ae;
$custom-light: #8a7bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#5248ae",
  "rgb": {
    "r": 82,
    "g": 72,
    "b": 174
  },
  "hsl": {
    "h": 245.882,
    "s": 41.463,
    "l": 48.235
  },
  "oklch": {
    "l": 0.46936,
    "c": 0.15692,
    "h": 283
  },
  "luminance": 0.09485
}

Semantic roles & 50–950 ramp

primary
#5248AE
secondary
#BDC290
accent
#D157C5
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #5248AE

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

Preview Lab → · Contrast checker → · Palette generator →

#5248AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva