#5248DF#5248DF

#5248DF is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 51.0% C 0.220 H 278.1°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#5248DF
RGBrgb(82, 72, 223)
HSLhsl(244, 70%, 58%)
HSVhsv(244, 68%, 87%)
CMYKcmyk(63.2%, 67.7%, 0%, 12.5%)
CIE-LABlab(40.82, 48.00, -75.51)
CIE-LCHlch(40.82, 89.47, 302.44°)
OKLaboklab(51.02% 0.0311 -0.2178)
OKLCHoklch(51.02% 0.22 278.1)
XYZxyz(19.1120, 11.7547, 71.0595)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5248DF #D5DF48
analogous
#4889DF #5248DF #9E48DF
triadic
#5248DF #DF5248 #48DF52
tetradic
#5248DF #DF4889 #D5DF48 #48DF9E
square
#5248DF #DF4889 #D5DF48 #48DF9E
split-complementary
#5248DF #DF9E48 #89DF48
monochromatic
#221A93 #2E23C7 #5248DF #837CE8 #B4B0F1

Accessibility & contrast

On white

6.27
#5248DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5248DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5248DF
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5248DF#FFFFFF#000000##FFFFFF
##5248DF1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E4
Deuteranopia (green-blind)
#005ADC
Tritanopia (blue-blind)
#00708E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5248df;
/* rgb */ color: rgb(82, 72, 223);
/* oklch */ color: oklch(51.0% 0.220 278.1);
Tailwind
colors: {
  custom: {
    50: '#927cea',
    500: '#5248df',
    950: '#000000',
  },
}
SCSS
$custom: #5248df;
$custom-light: #927cea;
$custom-dark: #000000;
JSON
{
  "hex": "#5248df",
  "rgb": {
    "r": 82,
    "g": 72,
    "b": 223
  },
  "hsl": {
    "h": 243.974,
    "s": 70.233,
    "l": 57.843
  },
  "oklch": {
    "l": 0.51016,
    "c": 0.22003,
    "h": 278.1
  },
  "luminance": 0.11756
}

Semantic roles & 50–950 ramp

primary
#5248DF
secondary
#DCE0A3
accent
#ED3BE1
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5248DF

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

Preview Lab → · Contrast checker → · Palette generator →

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