#5248A2#5248A2

#5248A2 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.0% C 0.140 H 284.5°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#5248A2
RGBrgb(82, 72, 162)
HSLhsl(247, 38%, 46%)
HSVhsv(247, 56%, 64%)
CMYKcmyk(49.4%, 55.6%, 0%, 36.5%)
CIE-LABlab(36.05, 28.65, -47.61)
CIE-LCHlch(36.05, 55.56, 301.04°)
OKLaboklab(46.04% 0.0351 -0.1359)
OKLCHoklch(46.04% 0.14 284.5)
XYZxyz(12.3167, 9.0366, 35.2707)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5248A2 #98A248
analogous
#486BA2 #5248A2 #7F48A2
triadic
#5248A2 #A25248 #48A252
tetradic
#5248A2 #A2486B #98A248 #48A27F
square
#5248A2 #A2486B #98A248 #48A27F
split-complementary
#5248A2 #A27F48 #6BA248
monochromatic
#27224D #3D3578 #5248A2 #736ABD #9B95D0

Accessibility & contrast

On white

7.48
#5248A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#5248A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5248A2
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5248A2#FFFFFF#000000##FFFFFF
##5248A21.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1458A5
Deuteranopia (green-blind)
#0E52A0
Tritanopia (blue-blind)
#365C6E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5248a2;
/* rgb */ color: rgb(82, 72, 162);
/* oklch */ color: oklch(46.0% 0.140 284.5);
Tailwind
colors: {
  custom: {
    50: '#887bbe',
    500: '#5248a2',
    950: '#000000',
  },
}
SCSS
$custom: #5248a2;
$custom-light: #887bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#5248a2",
  "rgb": {
    "r": 82,
    "g": 72,
    "b": 162
  },
  "hsl": {
    "h": 246.667,
    "s": 38.462,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46041,
    "c": 0.14032,
    "h": 284.5
  },
  "luminance": 0.09037
}

Semantic roles & 50–950 ramp

primary
#5248A2
secondary
#B6BC8A
accent
#CE59C1
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #5248A2

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

Preview Lab → · Contrast checker → · Palette generator →

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