#5248CE#5248CE

#5248CE is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.5% C 0.199 H 279.6°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#5248CE
RGBrgb(82, 72, 206)
HSLhsl(244, 58%, 55%)
HSVhsv(244, 65%, 81%)
CMYKcmyk(60.2%, 65%, 0%, 19.2%)
CIE-LABlab(39.38, 42.63, -68.10)
CIE-LCHlch(39.38, 80.34, 302.04°)
OKLaboklab(49.53% 0.0332 -0.1961)
OKLCHoklch(49.53% 0.199 279.6)
XYZxyz(16.9341, 10.8836, 59.5889)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5248CE #C4CE48
analogous
#4881CE #5248CE #9548CE
triadic
#5248CE #CE5248 #48CE52
tetradic
#5248CE #CE4881 #C4CE48 #48CE95
square
#5248CE #CE4881 #C4CE48 #48CE95
split-complementary
#5248CE #CE9548 #81CE48
monochromatic
#28217B #372EAB #5248CE #8078DB #ADA9E8

Accessibility & contrast

On white

6.61
#5248CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#5248CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5248CE
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5248CE#FFFFFF#000000##FFFFFF
##5248CE1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D2
Deuteranopia (green-blind)
#0058CB
Tritanopia (blue-blind)
#006A85
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5248ce;
/* rgb */ color: rgb(82, 72, 206);
/* oklch */ color: oklch(49.5% 0.199 279.6);
Tailwind
colors: {
  custom: {
    50: '#8f7cde',
    500: '#5248ce',
    950: '#000000',
  },
}
SCSS
$custom: #5248ce;
$custom-light: #8f7cde;
$custom-dark: #000000;
JSON
{
  "hex": "#5248ce",
  "rgb": {
    "r": 82,
    "g": 72,
    "b": 206
  },
  "hsl": {
    "h": 244.478,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.49531,
    "c": 0.19891,
    "h": 279.6
  },
  "luminance": 0.10885
}

Semantic roles & 50–950 ramp

primary
#5248CE
secondary
#D1D59D
accent
#E147D5
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5248CE

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

Preview Lab → · Contrast checker → · Palette generator →

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