#5248E9#5248E9

#5248E9 is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.9% C 0.232 H 277.3°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#5248E9
RGBrgb(82, 72, 233)
HSLhsl(244, 79%, 60%)
HSVhsv(244, 69%, 91%)
CMYKcmyk(64.8%, 69.1%, 0%, 8.6%)
CIE-LABlab(41.70, 51.13, -79.75)
CIE-LCHlch(41.70, 94.73, 302.66°)
OKLaboklab(51.92% 0.0297 -0.2302)
OKLCHoklch(51.92% 0.232 277.3)
XYZxyz(20.5002, 12.3100, 78.3707)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5248E9 #DFE948
analogous
#488EE9 #5248E9 #A348E9
triadic
#5248E9 #E95248 #48E952
tetradic
#5248E9 #E9488E #DFE948 #48E9A3
square
#5248E9 #E9488E #DFE948 #48E9A3
split-complementary
#5248E9 #E9A348 #8EE948
monochromatic
#1D14A3 #261ADA #5248E9 #867FF0 #B9B5F6

Accessibility & contrast

On white

6.07
#5248E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#5248E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5248E9
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5248E9#FFFFFF#000000##FFFFFF
##5248E91.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069EE
Deuteranopia (green-blind)
#005CE6
Tritanopia (blue-blind)
#007493
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5248e9;
/* rgb */ color: rgb(82, 72, 233);
/* oklch */ color: oklch(51.9% 0.232 277.3);
Tailwind
colors: {
  custom: {
    50: '#947df1',
    500: '#5248e9',
    950: '#000000',
  },
}
SCSS
$custom: #5248e9;
$custom-light: #947df1;
$custom-dark: #000000;
JSON
{
  "hex": "#5248e9",
  "rgb": {
    "r": 82,
    "g": 72,
    "b": 233
  },
  "hsl": {
    "h": 243.727,
    "s": 78.537,
    "l": 59.804
  },
  "oklch": {
    "l": 0.51917,
    "c": 0.23212,
    "h": 277.3
  },
  "luminance": 0.12312
}

Semantic roles & 50–950 ramp

primary
#5248E9
secondary
#E2E6A7
accent
#F533E9
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5248E9

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

Preview Lab → · Contrast checker → · Palette generator →

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