#5241D9#5241D9

#5241D9 is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.5% C 0.220 H 279.7°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#5241D9
RGBrgb(82, 65, 217)
HSLhsl(247, 67%, 55%)
HSVhsv(247, 70%, 85%)
CMYKcmyk(62.2%, 70%, 0%, 14.9%)
CIE-LABlab(38.87, 50.04, -75.28)
CIE-LCHlch(38.87, 90.40, 303.61°)
OKLaboklab(49.45% 0.0371 -0.2171)
OKLCHoklch(49.45% 0.22 279.7)
XYZxyz(17.8904, 10.5828, 66.7321)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5241D9 #C8D941
analogous
#417CD9 #5241D9 #9E41D9
triadic
#5241D9 #D95241 #41D952
tetradic
#5241D9 #D9417C #C8D941 #41D99E
square
#5241D9 #D9417C #C8D941 #41D99E
split-complementary
#5241D9 #D99E41 #7CD941
monochromatic
#271B85 #3525B8 #5241D9 #8074E3 #AFA7ED

Accessibility & contrast

On white

6.74
#5241D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#5241D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5241D9
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5241D9#FFFFFF#000000##FFFFFF
##5241D91.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061DE
Deuteranopia (green-blind)
#0056D6
Tritanopia (blue-blind)
#006A88
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5241d9;
/* rgb */ color: rgb(82, 65, 217);
/* oklch */ color: oklch(49.5% 0.220 279.7);
Tailwind
colors: {
  custom: {
    50: '#9278e6',
    500: '#5241d9',
    950: '#000000',
  },
}
SCSS
$custom: #5241d9;
$custom-light: #9278e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5241d9",
  "rgb": {
    "r": 82,
    "g": 65,
    "b": 217
  },
  "hsl": {
    "h": 246.711,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.49451,
    "c": 0.22029,
    "h": 279.7
  },
  "luminance": 0.10584
}

Semantic roles & 50–950 ramp

primary
#5241D9
secondary
#D4DB9B
accent
#EA3ED6
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5241D9

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

Preview Lab → · Contrast checker → · Palette generator →

#5241D9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva