#5248C8#5248C8

#5248C8 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 49.0% C 0.191 H 280.2°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#5248C8
RGBrgb(82, 72, 200)
HSLhsl(245, 54%, 53%)
HSVhsv(245, 64%, 78%)
CMYKcmyk(59%, 64%, 0%, 21.6%)
CIE-LABlab(38.89, 40.72, -65.43)
CIE-LCHlch(38.89, 77.06, 301.90°)
OKLaboklab(49.02% 0.0338 -0.1883)
OKLCHoklch(49.02% 0.191 280.2)
XYZxyz(16.2191, 10.5976, 55.8232)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5248C8 #BEC848
analogous
#487EC8 #5248C8 #9248C8
triadic
#5248C8 #C85248 #48C852
tetradic
#5248C8 #C8487E #BEC848 #48C892
square
#5248C8 #C8487E #BEC848 #48C892
split-complementary
#5248C8 #C89248 #7EC848
monochromatic
#292373 #3A31A2 #5248C8 #7E77D6 #ABA6E4

Accessibility & contrast

On white

6.73
#5248C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#5248C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5248C8
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5248C8#FFFFFF#000000##FFFFFF
##5248C81.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#0057C5
Tritanopia (blue-blind)
#006881
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5248c8;
/* rgb */ color: rgb(82, 72, 200);
/* oklch */ color: oklch(49.0% 0.191 280.2);
Tailwind
colors: {
  custom: {
    50: '#8e7cda',
    500: '#5248c8',
    950: '#000000',
  },
}
SCSS
$custom: #5248c8;
$custom-light: #8e7cda;
$custom-dark: #000000;
JSON
{
  "hex": "#5248c8",
  "rgb": {
    "r": 82,
    "g": 72,
    "b": 200
  },
  "hsl": {
    "h": 244.688,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.49024,
    "c": 0.19127,
    "h": 280.2
  },
  "luminance": 0.10599
}

Semantic roles & 50–950 ramp

primary
#5248C8
secondary
#CDD19A
accent
#DD4BD2
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #5248C8

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

Preview Lab → · Contrast checker → · Palette generator →

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