#5249CA#5249CA

#5249CA is a mid, vivid blue. Relative luminance 0.108; OKLCH L 49.4% C 0.193 H 279.8°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#5249CA
RGBrgb(82, 73, 202)
HSLhsl(244, 55%, 54%)
HSVhsv(244, 64%, 79%)
CMYKcmyk(59.4%, 63.9%, 0%, 20.8%)
CIE-LABlab(39.28, 40.76, -65.96)
CIE-LCHlch(39.28, 77.54, 301.72°)
OKLaboklab(49.35% 0.0327 -0.1898)
OKLCHoklch(49.35% 0.193 279.8)
XYZxyz(16.5195, 10.8220, 57.0840)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5249CA #C1CA49
analogous
#4981CA #5249CA #9349CA
triadic
#5249CA #CA5249 #49CA52
tetradic
#5249CA #CA4981 #C1CA49 #49CA93
square
#5249CA #CA4981 #C1CA49 #49CA93
split-complementary
#5249CA #CA9349 #81CA49
monochromatic
#282276 #3830A6 #5249CA #7F78D8 #ACA8E6

Accessibility & contrast

On white

6.64
#5249CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#5249CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5249CA
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5249CA#FFFFFF#000000##FFFFFF
##5249CA1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#0057C7
Tritanopia (blue-blind)
#006983
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5249ca;
/* rgb */ color: rgb(82, 73, 202);
/* oklch */ color: oklch(49.4% 0.193 279.8);
Tailwind
colors: {
  custom: {
    50: '#8f7cdb',
    500: '#5249ca',
    950: '#000000',
  },
}
SCSS
$custom: #5249ca;
$custom-light: #8f7cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5249ca",
  "rgb": {
    "r": 82,
    "g": 73,
    "b": 202
  },
  "hsl": {
    "h": 244.186,
    "s": 54.894,
    "l": 53.922
  },
  "oklch": {
    "l": 0.49354,
    "c": 0.19262,
    "h": 279.8
  },
  "luminance": 0.10823
}

Semantic roles & 50–950 ramp

primary
#5249CA
secondary
#CFD39C
accent
#DE4AD4
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5249CA

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

Preview Lab → · Contrast checker → · Palette generator →

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