#5241DD#5241DD

#5241DD is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 49.8% C 0.225 H 279.3°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#5241DD
RGBrgb(82, 65, 221)
HSLhsl(247, 70%, 56%)
HSVhsv(247, 71%, 87%)
CMYKcmyk(62.9%, 70.6%, 0%, 13.3%)
CIE-LABlab(39.23, 51.27, -76.98)
CIE-LCHlch(39.23, 92.49, 303.66°)
OKLaboklab(49.82% 0.0364 -0.2221)
OKLCHoklch(49.82% 0.225 279.3)
XYZxyz(18.4169, 10.7934, 69.5054)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5241DD #CCDD41
analogous
#417EDD #5241DD #A041DD
triadic
#5241DD #DD5241 #41DD52
tetradic
#5241DD #DD417E #CCDD41 #41DDA0
square
#5241DD #DD417E #CCDD41 #41DDA0
split-complementary
#5241DD #DDA041 #7EDD41
monochromatic
#25198B #3322BF #5241DD #8175E6 #B1A9F0

Accessibility & contrast

On white

6.65
#5241DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#5241DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5241DD
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5241DD#FFFFFF#000000##FFFFFF
##5241DD1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E2
Deuteranopia (green-blind)
#0056DA
Tritanopia (blue-blind)
#006C8B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5241dd;
/* rgb */ color: rgb(82, 65, 221);
/* oklch */ color: oklch(49.8% 0.225 279.3);
Tailwind
colors: {
  custom: {
    50: '#9378e9',
    500: '#5241dd',
    950: '#000000',
  },
}
SCSS
$custom: #5241dd;
$custom-light: #9378e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5241dd",
  "rgb": {
    "r": 82,
    "g": 65,
    "b": 221
  },
  "hsl": {
    "h": 246.538,
    "s": 69.643,
    "l": 56.078
  },
  "oklch": {
    "l": 0.4982,
    "c": 0.22507,
    "h": 279.3
  },
  "luminance": 0.10795
}

Semantic roles & 50–950 ramp

primary
#5241DD
secondary
#D6DD9D
accent
#EC3BD9
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5241DD

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

Preview Lab → · Contrast checker → · Palette generator →

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