#5248BF#5248BF

#5248BF is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.3% C 0.180 H 281.1°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#5248BF
RGBrgb(82, 72, 191)
HSLhsl(245, 48%, 52%)
HSVhsv(245, 62%, 75%)
CMYKcmyk(57.1%, 62.3%, 0%, 25.1%)
CIE-LABlab(38.18, 37.85, -61.34)
CIE-LCHlch(38.18, 72.08, 301.68°)
OKLaboklab(48.28% 0.0345 -0.1763)
OKLCHoklch(48.28% 0.18 281.1)
XYZxyz(15.1981, 10.1892, 50.4460)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5248BF #B5BF48
analogous
#487ABF #5248BF #8E48BF
triadic
#5248BF #BF5248 #48BF52
tetradic
#5248BF #BF487A #B5BF48 #48BF8E
square
#5248BF #BF487A #B5BF48 #48BF8E
split-complementary
#5248BF #BF8E48 #7ABF48
monochromatic
#2A2468 #3C3496 #5248BF #7D75CF #A8A3DF

Accessibility & contrast

On white

6.91
#5248BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#5248BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5248BF
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5248BF#FFFFFF#000000##FFFFFF
##5248BF1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#0055BD
Tritanopia (blue-blind)
#16657D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5248bf;
/* rgb */ color: rgb(82, 72, 191);
/* oklch */ color: oklch(48.3% 0.180 281.1);
Tailwind
colors: {
  custom: {
    50: '#8d7bd3',
    500: '#5248bf',
    950: '#000000',
  },
}
SCSS
$custom: #5248bf;
$custom-light: #8d7bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5248bf",
  "rgb": {
    "r": 82,
    "g": 72,
    "b": 191
  },
  "hsl": {
    "h": 245.042,
    "s": 48.178,
    "l": 51.569
  },
  "oklch": {
    "l": 0.4828,
    "c": 0.17961,
    "h": 281.1
  },
  "luminance": 0.1019
}

Semantic roles & 50–950 ramp

primary
#5248BF
secondary
#C7CC97
accent
#D850CC
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5248BF

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

Preview Lab → · Contrast checker → · Palette generator →

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