#5249AF#5249AF

#5249AF is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.2% C 0.157 H 282.6°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#5249AF
RGBrgb(82, 73, 175)
HSLhsl(245, 41%, 49%)
HSVhsv(245, 58%, 69%)
CMYKcmyk(53.1%, 58.3%, 0%, 31.4%)
CIE-LABlab(37.21, 32.14, -53.49)
CIE-LCHlch(37.21, 62.40, 301.00°)
OKLaboklab(47.19% 0.0341 -0.1532)
OKLCHoklch(47.19% 0.157 282.6)
XYZxyz(13.5977, 9.6533, 41.6959)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5249AF #A6AF49
analogous
#4973AF #5249AF #8549AF
triadic
#5249AF #AF5249 #49AF52
tetradic
#5249AF #AF4973 #A6AF49 #49AF85
square
#5249AF #AF4973 #A6AF49 #49AF85
split-complementary
#5249AF #AF8549 #73AF49
monochromatic
#2A2559 #3E3784 #5249AF #7971C4 #A29CD6

Accessibility & contrast

On white

7.17
#5249AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#5249AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5249AF
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5249AF#FFFFFF#000000##FFFFFF
##5249AF1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#2B6175
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5249af;
/* rgb */ color: rgb(82, 73, 175);
/* oklch */ color: oklch(47.2% 0.157 282.6);
Tailwind
colors: {
  custom: {
    50: '#8a7cc8',
    500: '#5249af',
    950: '#000000',
  },
}
SCSS
$custom: #5249af;
$custom-light: #8a7cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#5249af",
  "rgb": {
    "r": 82,
    "g": 73,
    "b": 175
  },
  "hsl": {
    "h": 245.294,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.4719,
    "c": 0.15691,
    "h": 282.6
  },
  "luminance": 0.09654
}

Semantic roles & 50–950 ramp

primary
#5249AF
secondary
#BEC291
accent
#D157C6
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #5249AF

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

Preview Lab → · Contrast checker → · Palette generator →

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