#5249CE#5249CE

#5249CE is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.7% C 0.198 H 279.4°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#5249CE
RGBrgb(82, 73, 206)
HSLhsl(244, 58%, 55%)
HSVhsv(244, 65%, 81%)
CMYKcmyk(60.2%, 64.6%, 0%, 19.2%)
CIE-LABlab(39.60, 42.04, -67.74)
CIE-LCHlch(39.60, 79.73, 301.82°)
OKLaboklab(49.69% 0.0323 -0.1951)
OKLCHoklch(49.69% 0.198 279.4)
XYZxyz(16.9993, 11.0139, 59.6107)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5249CE #C5CE49
analogous
#4983CE #5249CE #9449CE
triadic
#5249CE #CE5249 #49CE52
tetradic
#5249CE #CE4983 #C5CE49 #49CE94
square
#5249CE #CE4983 #C5CE49 #49CE94
split-complementary
#5249CE #CE9449 #83CE49
monochromatic
#27217B #372EAC #5249CE #8079DB #AEA9E8

Accessibility & contrast

On white

6.56
#5249CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#5249CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5249CE
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5249CE#FFFFFF#000000##FFFFFF
##5249CE1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D2
Deuteranopia (green-blind)
#0058CB
Tritanopia (blue-blind)
#006B85
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5249ce;
/* rgb */ color: rgb(82, 73, 206);
/* oklch */ color: oklch(49.7% 0.198 279.4);
Tailwind
colors: {
  custom: {
    50: '#8f7cde',
    500: '#5249ce',
    950: '#000000',
  },
}
SCSS
$custom: #5249ce;
$custom-light: #8f7cde;
$custom-dark: #000000;
JSON
{
  "hex": "#5249ce",
  "rgb": {
    "r": 82,
    "g": 73,
    "b": 206
  },
  "hsl": {
    "h": 244.06,
    "s": 57.576,
    "l": 54.706
  },
  "oklch": {
    "l": 0.49691,
    "c": 0.19772,
    "h": 279.4
  },
  "luminance": 0.11015
}

Semantic roles & 50–950 ramp

primary
#5249CE
secondary
#D2D59D
accent
#E147D6
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5249CE

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

Preview Lab → · Contrast checker → · Palette generator →

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