#5244D3#5244D3

#5244D3 is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.3% C 0.210 H 279.8°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#5244D3
RGBrgb(82, 68, 211)
HSLhsl(246, 62%, 55%)
HSVhsv(246, 68%, 83%)
CMYKcmyk(61.1%, 67.8%, 0%, 17.3%)
CIE-LABlab(38.95, 46.51, -71.70)
CIE-LCHlch(38.95, 85.46, 302.97°)
OKLaboklab(49.35% 0.0358 -0.2067)
OKLCHoklch(49.35% 0.21 279.8)
XYZxyz(17.3009, 10.6299, 62.7555)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5244D3 #C5D344
analogous
#447ED3 #5244D3 #9A44D3
triadic
#5244D3 #D35244 #44D352
tetradic
#5244D3 #D3447E #C5D344 #44D39A
square
#5244D3 #D3447E #C5D344 #44D39A
split-complementary
#5244D3 #D39A44 #7ED344
monochromatic
#271E7F #3729B0 #5244D3 #8076DF #AEA7EA

Accessibility & contrast

On white

6.72
#5244D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#5244D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5244D3
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5244D3#FFFFFF#000000##FFFFFF
##5244D31.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D7
Deuteranopia (green-blind)
#0056D0
Tritanopia (blue-blind)
#006A86
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5244d3;
/* rgb */ color: rgb(82, 68, 211);
/* oklch */ color: oklch(49.3% 0.210 279.8);
Tailwind
colors: {
  custom: {
    50: '#9179e2',
    500: '#5244d3',
    950: '#000000',
  },
}
SCSS
$custom: #5244d3;
$custom-light: #9179e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5244d3",
  "rgb": {
    "r": 82,
    "g": 68,
    "b": 211
  },
  "hsl": {
    "h": 245.874,
    "s": 61.905,
    "l": 54.706
  },
  "oklch": {
    "l": 0.49348,
    "c": 0.20974,
    "h": 279.8
  },
  "luminance": 0.10631
}

Semantic roles & 50–950 ramp

primary
#5244D3
secondary
#D2D89B
accent
#E543D5
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0915
muted
#7E7B84

Preview Lab

Preview with #5244D3

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

Preview Lab → · Contrast checker → · Palette generator →

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