#5244C2#5244C2

#5244C2 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.9% C 0.188 H 281.6°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#5244C2
RGBrgb(82, 68, 194)
HSLhsl(247, 51%, 51%)
HSVhsv(247, 65%, 76%)
CMYKcmyk(57.7%, 64.9%, 0%, 23.9%)
CIE-LABlab(37.52, 41.19, -64.17)
CIE-LCHlch(37.52, 76.25, 302.69°)
OKLaboklab(47.87% 0.0379 -0.1846)
OKLCHoklch(47.87% 0.188 281.6)
XYZxyz(15.2814, 9.8221, 52.1191)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5244C2 #B4C244
analogous
#4475C2 #5244C2 #9144C2
triadic
#5244C2 #C25244 #44C252
tetradic
#5244C2 #C24475 #B4C244 #44C291
square
#5244C2 #C24475 #B4C244 #44C291
split-complementary
#5244C2 #C29144 #75C244
monochromatic
#2A2269 #3D3197 #5244C2 #7D72D1 #A7A0E0

Accessibility & contrast

On white

7.08
#5244C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#5244C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5244C2
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5244C2#FFFFFF#000000##FFFFFF
##5244C21.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#0054C0
Tritanopia (blue-blind)
#10647D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5244c2;
/* rgb */ color: rgb(82, 68, 194);
/* oklch */ color: oklch(47.9% 0.188 281.6);
Tailwind
colors: {
  custom: {
    50: '#8e79d5',
    500: '#5244c2',
    950: '#000000',
  },
}
SCSS
$custom: #5244c2;
$custom-light: #8e79d5;
$custom-dark: #000000;
JSON
{
  "hex": "#5244c2",
  "rgb": {
    "r": 82,
    "g": 68,
    "b": 194
  },
  "hsl": {
    "h": 246.667,
    "s": 50.806,
    "l": 51.373
  },
  "oklch": {
    "l": 0.47874,
    "c": 0.18843,
    "h": 281.6
  },
  "luminance": 0.09823
}

Semantic roles & 50–950 ramp

primary
#5244C2
secondary
#C7CD95
accent
#DA4ECB
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5244C2

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

Preview Lab → · Contrast checker → · Palette generator →

#5244C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva