#5241E0#5241E0

#5241E0 is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 50.1% C 0.229 H 279.0°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#5241E0
RGBrgb(82, 65, 224)
HSLhsl(246, 72%, 57%)
HSVhsv(246, 71%, 88%)
CMYKcmyk(63.4%, 71%, 0%, 12.2%)
CIE-LABlab(39.50, 52.19, -78.25)
CIE-LCHlch(39.50, 94.05, 303.70°)
OKLaboklab(50.1% 0.0358 -0.2258)
OKLCHoklch(50.1% 0.229 279)
XYZxyz(18.8202, 10.9547, 71.6293)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5241E0 #CFE041
analogous
#4180E0 #5241E0 #A241E0
triadic
#5241E0 #E05241 #41E052
tetradic
#5241E0 #E04180 #CFE041 #41E0A2
square
#5241E0 #E04180 #CFE041 #41E0A2
split-complementary
#5241E0 #E0A241 #80E041
monochromatic
#24178F #3120C4 #5241E0 #8276E9 #B2AAF1

Accessibility & contrast

On white

6.58
#5241E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#5241E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5241E0
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5241E0#FFFFFF#000000##FFFFFF
##5241E01.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E5
Deuteranopia (green-blind)
#0057DD
Tritanopia (blue-blind)
#006D8C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5241e0;
/* rgb */ color: rgb(82, 65, 224);
/* oklch */ color: oklch(50.1% 0.229 279.0);
Tailwind
colors: {
  custom: {
    50: '#9378eb',
    500: '#5241e0',
    950: '#000000',
  },
}
SCSS
$custom: #5241e0;
$custom-light: #9378eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5241e0",
  "rgb": {
    "r": 82,
    "g": 65,
    "b": 224
  },
  "hsl": {
    "h": 246.415,
    "s": 71.946,
    "l": 56.667
  },
  "oklch": {
    "l": 0.50098,
    "c": 0.22863,
    "h": 279
  },
  "luminance": 0.10956
}

Semantic roles & 50–950 ramp

primary
#5241E0
secondary
#D8DF9E
accent
#EF39DB
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5241E0

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

Preview Lab → · Contrast checker → · Palette generator →

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