#5249D3#5249D3

#5249D3 is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 50.1% C 0.204 H 279.0°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#5249D3
RGBrgb(82, 73, 211)
HSLhsl(244, 61%, 56%)
HSVhsv(244, 65%, 83%)
CMYKcmyk(61.1%, 65.4%, 0%, 17.3%)
CIE-LABlab(40.02, 43.63, -69.95)
CIE-LCHlch(40.02, 82.44, 301.95°)
OKLaboklab(50.12% 0.0318 -0.2015)
OKLCHoklch(50.12% 0.204 279)
XYZxyz(17.6163, 11.2607, 62.8606)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5249D3 #CAD349
analogous
#4985D3 #5249D3 #9749D3
triadic
#5249D3 #D35249 #49D352
tetradic
#5249D3 #D34985 #CAD349 #49D397
square
#5249D3 #D34985 #CAD349 #49D397
split-complementary
#5249D3 #D39749 #85D349
monochromatic
#261F82 #342BB3 #5249D3 #817ADF #B0ACEB

Accessibility & contrast

On white

6.46
#5249D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#5249D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5249D3
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5249D3#FFFFFF#000000##FFFFFF
##5249D31.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D7
Deuteranopia (green-blind)
#0059D0
Tritanopia (blue-blind)
#006D88
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5249d3;
/* rgb */ color: rgb(82, 73, 211);
/* oklch */ color: oklch(50.1% 0.204 279.0);
Tailwind
colors: {
  custom: {
    50: '#907de2',
    500: '#5249d3',
    950: '#000000',
  },
}
SCSS
$custom: #5249d3;
$custom-light: #907de2;
$custom-dark: #000000;
JSON
{
  "hex": "#5249d3",
  "rgb": {
    "r": 82,
    "g": 73,
    "b": 211
  },
  "hsl": {
    "h": 243.913,
    "s": 61.062,
    "l": 55.686
  },
  "oklch": {
    "l": 0.50118,
    "c": 0.20404,
    "h": 279
  },
  "luminance": 0.11262
}

Semantic roles & 50–950 ramp

primary
#5249D3
secondary
#D5D99F
accent
#E444DA
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0915
muted
#7E7B84

Preview Lab

Preview with #5249D3

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

Preview Lab → · Contrast checker → · Palette generator →

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