#5248CC#5248CC

#5248CC is a mid, vivid blue. Relative luminance 0.108; OKLCH L 49.4% C 0.196 H 279.8°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#5248CC
RGBrgb(82, 72, 204)
HSLhsl(245, 56%, 54%)
HSVhsv(245, 65%, 80%)
CMYKcmyk(59.8%, 64.7%, 0%, 20%)
CIE-LABlab(39.22, 41.99, -67.22)
CIE-LCHlch(39.22, 79.25, 301.99°)
OKLaboklab(49.36% 0.0334 -0.1935)
OKLCHoklch(49.36% 0.196 279.8)
XYZxyz(16.6927, 10.7870, 58.3175)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5248CC #C2CC48
analogous
#4880CC #5248CC #9448CC
triadic
#5248CC #CC5248 #48CC52
tetradic
#5248CC #CC4880 #C2CC48 #48CC94
square
#5248CC #CC4880 #C2CC48 #48CC94
split-complementary
#5248CC #CC9448 #80CC48
monochromatic
#282178 #382FA8 #5248CC #7F78D9 #ACA8E7

Accessibility & contrast

On white

6.65
#5248CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#5248CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5248CC
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5248CC#FFFFFF#000000##FFFFFF
##5248CC1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D0
Deuteranopia (green-blind)
#0057C9
Tritanopia (blue-blind)
#006A83
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5248cc;
/* rgb */ color: rgb(82, 72, 204);
/* oklch */ color: oklch(49.4% 0.196 279.8);
Tailwind
colors: {
  custom: {
    50: '#8f7cdd',
    500: '#5248cc',
    950: '#000000',
  },
}
SCSS
$custom: #5248cc;
$custom-light: #8f7cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5248cc",
  "rgb": {
    "r": 82,
    "g": 72,
    "b": 204
  },
  "hsl": {
    "h": 244.545,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.49361,
    "c": 0.19637,
    "h": 279.8
  },
  "luminance": 0.10788
}

Semantic roles & 50–950 ramp

primary
#5248CC
secondary
#D0D49C
accent
#E048D4
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5248CC

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

Preview Lab → · Contrast checker → · Palette generator →

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