#5248E3#5248E3

#5248E3 is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.4% C 0.225 H 277.8°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#5248E3
RGBrgb(82, 72, 227)
HSLhsl(244, 73%, 59%)
HSVhsv(244, 68%, 89%)
CMYKcmyk(63.9%, 68.3%, 0%, 11%)
CIE-LABlab(41.17, 49.25, -77.21)
CIE-LCHlch(41.17, 91.58, 302.53°)
OKLaboklab(51.37% 0.0306 -0.2228)
OKLCHoklch(51.37% 0.225 277.8)
XYZxyz(19.6577, 11.9730, 73.9333)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5248E3 #D9E348
analogous
#488BE3 #5248E3 #9F48E3
triadic
#5248E3 #E35248 #48E352
tetradic
#5248E3 #E3488B #D9E348 #48E39F
square
#5248E3 #E3488B #D9E348 #48E39F
split-complementary
#5248E3 #E39F48 #8BE348
monochromatic
#201799 #2B20CE #5248E3 #847DEB #B6B2F3

Accessibility & contrast

On white

6.19
#5248E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#5248E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5248E3
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5248E3#FFFFFF#000000##FFFFFF
##5248E31.006.193.406.19
#FFFFFF6.191.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E8
Deuteranopia (green-blind)
#005BE0
Tritanopia (blue-blind)
#007290
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5248e3;
/* rgb */ color: rgb(82, 72, 227);
/* oklch */ color: oklch(51.4% 0.225 277.8);
Tailwind
colors: {
  custom: {
    50: '#937ced',
    500: '#5248e3',
    950: '#000000',
  },
}
SCSS
$custom: #5248e3;
$custom-light: #937ced;
$custom-dark: #000000;
JSON
{
  "hex": "#5248e3",
  "rgb": {
    "r": 82,
    "g": 72,
    "b": 227
  },
  "hsl": {
    "h": 243.871,
    "s": 73.46,
    "l": 58.627
  },
  "oklch": {
    "l": 0.51374,
    "c": 0.2249,
    "h": 277.8
  },
  "luminance": 0.11975
}

Semantic roles & 50–950 ramp

primary
#5248E3
secondary
#DEE2A5
accent
#F038E4
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5248E3

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

Preview Lab → · Contrast checker → · Palette generator →

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