#5249BD#5249BD

#5249BD is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.3% C 0.176 H 281.0°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#5249BD
RGBrgb(82, 73, 189)
HSLhsl(245, 47%, 51%)
HSVhsv(245, 61%, 74%)
CMYKcmyk(56.6%, 61.4%, 0%, 25.9%)
CIE-LABlab(38.26, 36.61, -60.05)
CIE-LCHlch(38.26, 70.33, 301.37°)
OKLaboklab(48.29% 0.0337 -0.1725)
OKLCHoklch(48.29% 0.176 281)
XYZxyz(15.0447, 10.2321, 49.3165)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5249BD #B4BD49
analogous
#497ABD #5249BD #8C49BD
triadic
#5249BD #BD5249 #49BD52
tetradic
#5249BD #BD497A #B4BD49 #49BD8C
square
#5249BD #BD497A #B4BD49 #49BD8C
split-complementary
#5249BD #BD8C49 #7ABD49
monochromatic
#2A2566 #3D3593 #5249BD #7D76CD #A7A3DE

Accessibility & contrast

On white

6.89
#5249BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#5249BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5249BD
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5249BD#FFFFFF#000000##FFFFFF
##5249BD1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#0056BB
Tritanopia (blue-blind)
#19657C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5249bd;
/* rgb */ color: rgb(82, 73, 189);
/* oklch */ color: oklch(48.3% 0.176 281.0);
Tailwind
colors: {
  custom: {
    50: '#8c7cd2',
    500: '#5249bd',
    950: '#000000',
  },
}
SCSS
$custom: #5249bd;
$custom-light: #8c7cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5249bd",
  "rgb": {
    "r": 82,
    "g": 73,
    "b": 189
  },
  "hsl": {
    "h": 244.655,
    "s": 46.774,
    "l": 51.373
  },
  "oklch": {
    "l": 0.48287,
    "c": 0.17571,
    "h": 281
  },
  "luminance": 0.10233
}

Semantic roles & 50–950 ramp

primary
#5249BD
secondary
#C7CA97
accent
#D651CC
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5249BD

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

Preview Lab → · Contrast checker → · Palette generator →

#5249BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva