#5249CF#5249CF

#5249CF is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.8% C 0.199 H 279.3°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#5249CF
RGBrgb(82, 73, 207)
HSLhsl(244, 58%, 55%)
HSVhsv(244, 65%, 81%)
CMYKcmyk(60.4%, 64.7%, 0%, 18.8%)
CIE-LABlab(39.69, 42.35, -68.19)
CIE-LCHlch(39.69, 80.27, 301.85°)
OKLaboklab(49.78% 0.0323 -0.1964)
OKLCHoklch(49.78% 0.199 279.3)
XYZxyz(17.1211, 11.0627, 60.2525)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5249CF #C6CF49
analogous
#4983CF #5249CF #9549CF
triadic
#5249CF #CF5249 #49CF52
tetradic
#5249CF #CF4983 #C6CF49 #49CF95
square
#5249CF #CF4983 #C6CF49 #49CF95
split-complementary
#5249CF #CF9549 #83CF49
monochromatic
#27217D #362EAD #5249CF #8079DC #AEAAE9

Accessibility & contrast

On white

6.54
#5249CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#5249CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5249CF
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5249CF#FFFFFF#000000##FFFFFF
##5249CF1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D3
Deuteranopia (green-blind)
#0058CC
Tritanopia (blue-blind)
#006B85
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5249cf;
/* rgb */ color: rgb(82, 73, 207);
/* oklch */ color: oklch(49.8% 0.199 279.3);
Tailwind
colors: {
  custom: {
    50: '#8f7cdf',
    500: '#5249cf',
    950: '#000000',
  },
}
SCSS
$custom: #5249cf;
$custom-light: #8f7cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#5249cf",
  "rgb": {
    "r": 82,
    "g": 73,
    "b": 207
  },
  "hsl": {
    "h": 244.03,
    "s": 58.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.49776,
    "c": 0.19899,
    "h": 279.3
  },
  "luminance": 0.11064
}

Semantic roles & 50–950 ramp

primary
#5249CF
secondary
#D2D69E
accent
#E146D7
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5249CF

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

Preview Lab → · Contrast checker → · Palette generator →

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