#5248BC#5248BC

#5248BC is a mid, vivid blue. Relative luminance 0.101; OKLCH L 48.0% C 0.176 H 281.4°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#5248BC
RGBrgb(82, 72, 188)
HSLhsl(245, 46%, 51%)
HSVhsv(245, 62%, 74%)
CMYKcmyk(56.4%, 61.7%, 0%, 26.3%)
CIE-LABlab(37.95, 36.90, -59.96)
CIE-LCHlch(37.95, 70.41, 301.60°)
OKLaboklab(48.04% 0.0347 -0.1722)
OKLCHoklch(48.04% 0.176 281.4)
XYZxyz(14.8713, 10.0585, 48.7250)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5248BC #B2BC48
analogous
#4878BC #5248BC #8C48BC
triadic
#5248BC #BC5248 #48BC52
tetradic
#5248BC #BC4878 #B2BC48 #48BC8C
square
#5248BC #BC4878 #B2BC48 #48BC8C
split-complementary
#5248BC #BC8C48 #78BC48
monochromatic
#2A2565 #3D3592 #5248BC #7C75CC #A7A2DD

Accessibility & contrast

On white

6.97
#5248BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#5248BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5248BC
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5248BC#FFFFFF#000000##FFFFFF
##5248BC1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#0055BA
Tritanopia (blue-blind)
#1B647B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5248bc;
/* rgb */ color: rgb(82, 72, 188);
/* oklch */ color: oklch(48.0% 0.176 281.4);
Tailwind
colors: {
  custom: {
    50: '#8c7bd1',
    500: '#5248bc',
    950: '#000000',
  },
}
SCSS
$custom: #5248bc;
$custom-light: #8c7bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5248bc",
  "rgb": {
    "r": 82,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 245.172,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48036,
    "c": 0.17567,
    "h": 281.4
  },
  "luminance": 0.10059
}

Semantic roles & 50–950 ramp

primary
#5248BC
secondary
#C5CA96
accent
#D652CB
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #5248BC

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

Preview Lab → · Contrast checker → · Palette generator →

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