#5248DD#5248DD

#5248DD is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.8% C 0.218 H 278.3°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#5248DD
RGBrgb(82, 72, 221)
HSLhsl(244, 69%, 57%)
HSVhsv(244, 67%, 87%)
CMYKcmyk(62.9%, 67.4%, 0%, 13.3%)
CIE-LABlab(40.65, 47.37, -74.65)
CIE-LCHlch(40.65, 88.41, 302.40°)
OKLaboklab(50.84% 0.0314 -0.2153)
OKLCHoklch(50.84% 0.218 278.3)
XYZxyz(18.8440, 11.6475, 69.6478)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5248DD #D3DD48
analogous
#4888DD #5248DD #9D48DD
triadic
#5248DD #DD5248 #48DD52
tetradic
#5248DD #DD4888 #D3DD48 #48DD9D
square
#5248DD #DD4888 #D3DD48 #48DD9D
split-complementary
#5248DD #DD9D48 #88DD48
monochromatic
#231B90 #2F24C3 #5248DD #837CE7 #B4AFF0

Accessibility & contrast

On white

6.31
#5248DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#5248DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5248DD
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5248DD#FFFFFF#000000##FFFFFF
##5248DD1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E2
Deuteranopia (green-blind)
#005ADA
Tritanopia (blue-blind)
#006F8D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5248dd;
/* rgb */ color: rgb(82, 72, 221);
/* oklch */ color: oklch(50.8% 0.218 278.3);
Tailwind
colors: {
  custom: {
    50: '#927ce9',
    500: '#5248dd',
    950: '#000000',
  },
}
SCSS
$custom: #5248dd;
$custom-light: #927ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#5248dd",
  "rgb": {
    "r": 82,
    "g": 72,
    "b": 221
  },
  "hsl": {
    "h": 244.027,
    "s": 68.664,
    "l": 57.451
  },
  "oklch": {
    "l": 0.50838,
    "c": 0.21759,
    "h": 278.3
  },
  "luminance": 0.11649
}

Semantic roles & 50–950 ramp

primary
#5248DD
secondary
#DADEA2
accent
#EC3CE0
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5248DD

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

Preview Lab → · Contrast checker → · Palette generator →

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