#5249BF#5249BF

#5249BF is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.4% C 0.178 H 280.8°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#5249BF
RGBrgb(82, 73, 191)
HSLhsl(245, 48%, 52%)
HSVhsv(245, 62%, 75%)
CMYKcmyk(57.1%, 61.8%, 0%, 25.1%)
CIE-LABlab(38.41, 37.25, -60.97)
CIE-LCHlch(38.41, 71.45, 301.42°)
OKLaboklab(48.45% 0.0335 -0.1752)
OKLCHoklch(48.45% 0.178 280.8)
XYZxyz(15.2632, 10.3195, 50.4677)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5249BF #B6BF49
analogous
#497BBF #5249BF #8D49BF
triadic
#5249BF #BF5249 #49BF52
tetradic
#5249BF #BF497B #B6BF49 #49BF8D
square
#5249BF #BF497B #B6BF49 #49BF8D
split-complementary
#5249BF #BF8D49 #7BBF49
monochromatic
#2A2569 #3C3596 #5249BF #7D76CF #A8A4DF

Accessibility & contrast

On white

6.85
#5249BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#5249BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5249BF
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5249BF#FFFFFF#000000##FFFFFF
##5249BF1.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#0056BD
Tritanopia (blue-blind)
#15667D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5249bf;
/* rgb */ color: rgb(82, 73, 191);
/* oklch */ color: oklch(48.4% 0.178 280.8);
Tailwind
colors: {
  custom: {
    50: '#8d7cd3',
    500: '#5249bf',
    950: '#000000',
  },
}
SCSS
$custom: #5249bf;
$custom-light: #8d7cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5249bf",
  "rgb": {
    "r": 82,
    "g": 73,
    "b": 191
  },
  "hsl": {
    "h": 244.576,
    "s": 47.967,
    "l": 51.765
  },
  "oklch": {
    "l": 0.48448,
    "c": 0.17834,
    "h": 280.8
  },
  "luminance": 0.10321
}

Semantic roles & 50–950 ramp

primary
#5249BF
secondary
#C8CC98
accent
#D850CD
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5249BF

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

Preview Lab → · Contrast checker → · Palette generator →

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