#5248BB#5248BB

#5248BB is a mid, vivid blue. Relative luminance 0.100; OKLCH L 48.0% C 0.174 H 281.5°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#5248BB
RGBrgb(82, 72, 187)
HSLhsl(245, 46%, 51%)
HSVhsv(245, 61%, 73%)
CMYKcmyk(56.1%, 61.5%, 0%, 26.7%)
CIE-LABlab(37.87, 36.58, -59.50)
CIE-LCHlch(37.87, 69.85, 301.58°)
OKLaboklab(47.96% 0.0347 -0.1708)
OKLCHoklch(47.96% 0.174 281.5)
XYZxyz(14.7639, 10.0155, 48.1593)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5248BB #B1BB48
analogous
#4877BB #5248BB #8B48BB
triadic
#5248BB #BB5248 #48BB52
tetradic
#5248BB #BB4877 #B1BB48 #48BB8B
square
#5248BB #BB4877 #B1BB48 #48BB8B
split-complementary
#5248BB #BB8B48 #77BB48
monochromatic
#2A2564 #3D3690 #5248BB #7C75CC #A6A1DC

Accessibility & contrast

On white

6.99
#5248BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#5248BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5248BB
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5248BB#FFFFFF#000000##FFFFFF
##5248BB1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#0055B9
Tritanopia (blue-blind)
#1D647A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5248bb;
/* rgb */ color: rgb(82, 72, 187);
/* oklch */ color: oklch(48.0% 0.174 281.5);
Tailwind
colors: {
  custom: {
    50: '#8c7bd0',
    500: '#5248bb',
    950: '#000000',
  },
}
SCSS
$custom: #5248bb;
$custom-light: #8c7bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5248bb",
  "rgb": {
    "r": 82,
    "g": 72,
    "b": 187
  },
  "hsl": {
    "h": 245.217,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47956,
    "c": 0.17435,
    "h": 281.5
  },
  "luminance": 0.10016
}

Semantic roles & 50–950 ramp

primary
#5248BB
secondary
#C4C996
accent
#D552CA
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #5248BB

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

Preview Lab → · Contrast checker → · Palette generator →

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