#5248BD#5248BD

#5248BD is a mid, vivid blue. Relative luminance 0.101; OKLCH L 48.1% C 0.177 H 281.3°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#5248BD
RGBrgb(82, 72, 189)
HSLhsl(245, 47%, 51%)
HSVhsv(245, 62%, 74%)
CMYKcmyk(56.6%, 61.9%, 0%, 25.9%)
CIE-LABlab(38.02, 37.21, -60.43)
CIE-LCHlch(38.02, 70.97, 301.63°)
OKLaboklab(48.12% 0.0346 -0.1736)
OKLCHoklch(48.12% 0.177 281.3)
XYZxyz(14.9795, 10.1017, 49.2947)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5248BD #B3BD48
analogous
#4878BD #5248BD #8C48BD
triadic
#5248BD #BD5248 #48BD52
tetradic
#5248BD #BD4878 #B3BD48 #48BD8C
square
#5248BD #BD4878 #B3BD48 #48BD8C
split-complementary
#5248BD #BD8C48 #78BD48
monochromatic
#2A2566 #3D3593 #5248BD #7D75CD #A7A2DD

Accessibility & contrast

On white

6.95
#5248BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#5248BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5248BD
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5248BD#FFFFFF#000000##FFFFFF
##5248BD1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#0055BB
Tritanopia (blue-blind)
#19657C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5248bd;
/* rgb */ color: rgb(82, 72, 189);
/* oklch */ color: oklch(48.1% 0.177 281.3);
Tailwind
colors: {
  custom: {
    50: '#8d7bd2',
    500: '#5248bd',
    950: '#000000',
  },
}
SCSS
$custom: #5248bd;
$custom-light: #8d7bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5248bd",
  "rgb": {
    "r": 82,
    "g": 72,
    "b": 189
  },
  "hsl": {
    "h": 245.128,
    "s": 46.988,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48117,
    "c": 0.17699,
    "h": 281.3
  },
  "luminance": 0.10103
}

Semantic roles & 50–950 ramp

primary
#5248BD
secondary
#C6CA97
accent
#D751CB
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5248BD

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

Preview Lab → · Contrast checker → · Palette generator →

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