#5248CA#5248CA

#5248CA is a mid, vivid blue. Relative luminance 0.107; OKLCH L 49.2% C 0.194 H 280.0°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#5248CA
RGBrgb(82, 72, 202)
HSLhsl(245, 55%, 54%)
HSVhsv(245, 64%, 79%)
CMYKcmyk(59.4%, 64.4%, 0%, 20.8%)
CIE-LABlab(39.06, 41.35, -66.32)
CIE-LCHlch(39.06, 78.16, 301.94°)
OKLaboklab(49.19% 0.0336 -0.1909)
OKLCHoklch(49.19% 0.194 280)
XYZxyz(16.4543, 10.6917, 57.0623)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5248CA #C0CA48
analogous
#487FCA #5248CA #9348CA
triadic
#5248CA #CA5248 #48CA52
tetradic
#5248CA #CA487F #C0CA48 #48CA93
square
#5248CA #CA487F #C0CA48 #48CA93
split-complementary
#5248CA #CA9348 #7FCA48
monochromatic
#282276 #3930A5 #5248CA #7F77D8 #ACA7E5

Accessibility & contrast

On white

6.69
#5248CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#5248CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5248CA
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5248CA#FFFFFF#000000##FFFFFF
##5248CA1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#0057C7
Tritanopia (blue-blind)
#006982
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5248ca;
/* rgb */ color: rgb(82, 72, 202);
/* oklch */ color: oklch(49.2% 0.194 280.0);
Tailwind
colors: {
  custom: {
    50: '#8f7cdb',
    500: '#5248ca',
    950: '#000000',
  },
}
SCSS
$custom: #5248ca;
$custom-light: #8f7cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5248ca",
  "rgb": {
    "r": 82,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 244.615,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.49192,
    "c": 0.19382,
    "h": 280
  },
  "luminance": 0.10693
}

Semantic roles & 50–950 ramp

primary
#5248CA
secondary
#CED39B
accent
#DE49D3
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5248CA

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

Preview Lab → · Contrast checker → · Palette generator →

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