#5244B2#5244B2

#5244B2 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.6% C 0.168 H 283.5°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#5244B2
RGBrgb(82, 68, 178)
HSLhsl(248, 45%, 48%)
HSVhsv(248, 62%, 70%)
CMYKcmyk(53.9%, 61.8%, 0%, 30.2%)
CIE-LABlab(36.26, 36.15, -56.82)
CIE-LCHlch(36.26, 67.35, 302.47°)
OKLaboklab(46.56% 0.0393 -0.163)
OKLCHoklch(46.56% 0.168 283.5)
XYZxyz(13.5802, 9.1417, 43.1598)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5244B2 #A4B244
analogous
#446DB2 #5244B2 #8944B2
triadic
#5244B2 #B25244 #44B252
tetradic
#5244B2 #B2446D #A4B244 #44B289
square
#5244B2 #B2446D #A4B244 #44B289
split-complementary
#5244B2 #B28944 #6DB244
monochromatic
#292259 #3E3386 #5244B2 #786CC7 #A199D8

Accessibility & contrast

On white

7.42
#5244B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#5244B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5244B2
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5244B2#FFFFFF#000000##FFFFFF
##5244B21.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#0052B0
Tritanopia (blue-blind)
#295E74
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5244b2;
/* rgb */ color: rgb(82, 68, 178);
/* oklch */ color: oklch(46.6% 0.168 283.5);
Tailwind
colors: {
  custom: {
    50: '#8b78ca',
    500: '#5244b2',
    950: '#000000',
  },
}
SCSS
$custom: #5244b2;
$custom-light: #8b78ca;
$custom-dark: #000000;
JSON
{
  "hex": "#5244b2",
  "rgb": {
    "r": 82,
    "g": 68,
    "b": 178
  },
  "hsl": {
    "h": 247.636,
    "s": 44.715,
    "l": 48.235
  },
  "oklch": {
    "l": 0.46557,
    "c": 0.16764,
    "h": 283.5
  },
  "luminance": 0.09142
}

Semantic roles & 50–950 ramp

primary
#5244B2
secondary
#BDC48E
accent
#D453C4
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5244B2

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

Preview Lab → · Contrast checker → · Palette generator →

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