#5248DB#5248DB

#5248DB is a mid, highly saturated blue. Relative luminance 0.115; OKLCH L 50.7% C 0.215 H 278.5°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#5248DB
RGBrgb(82, 72, 219)
HSLhsl(244, 67%, 57%)
HSVhsv(244, 67%, 86%)
CMYKcmyk(62.6%, 67.1%, 0%, 14.1%)
CIE-LABlab(40.48, 46.74, -73.79)
CIE-LCHlch(40.48, 87.35, 302.35°)
OKLaboklab(50.66% 0.0317 -0.2128)
OKLCHoklch(50.66% 0.215 278.5)
XYZxyz(18.5791, 11.5416, 68.2528)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5248DB #D1DB48
analogous
#4887DB #5248DB #9C48DB
triadic
#5248DB #DB5248 #48DB52
tetradic
#5248DB #DB4887 #D1DB48 #48DB9C
square
#5248DB #DB4887 #D1DB48 #48DB9C
split-complementary
#5248DB #DB9C48 #87DB48
monochromatic
#231C8D #3026C0 #5248DB #827BE5 #B3AEEF

Accessibility & contrast

On white

6.35
#5248DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#5248DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5248DB
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5248DB#FFFFFF#000000##FFFFFF
##5248DB1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E0
Deuteranopia (green-blind)
#0059D8
Tritanopia (blue-blind)
#006F8C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5248db;
/* rgb */ color: rgb(82, 72, 219);
/* oklch */ color: oklch(50.7% 0.215 278.5);
Tailwind
colors: {
  custom: {
    50: '#927ce7',
    500: '#5248db',
    950: '#000000',
  },
}
SCSS
$custom: #5248db;
$custom-light: #927ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#5248db",
  "rgb": {
    "r": 82,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 244.082,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.50661,
    "c": 0.21513,
    "h": 278.5
  },
  "luminance": 0.11543
}

Semantic roles & 50–950 ramp

primary
#5248DB
secondary
#D9DDA2
accent
#EA3EDE
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5248DB

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

Preview Lab → · Contrast checker → · Palette generator →

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