#5241CE#5241CE

#5241CE is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 48.5% C 0.207 H 280.8°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#5241CE
RGBrgb(82, 65, 206)
HSLhsl(247, 59%, 53%)
HSVhsv(247, 68%, 81%)
CMYKcmyk(60.2%, 68.4%, 0%, 19.2%)
CIE-LABlab(37.90, 46.66, -70.54)
CIE-LCHlch(37.90, 84.57, 303.48°)
OKLaboklab(48.46% 0.0389 -0.2033)
OKLCHoklch(48.46% 0.207 280.8)
XYZxyz(16.5070, 10.0295, 59.4466)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5241CE #BDCE41
analogous
#4176CE #5241CE #9841CE
triadic
#5241CE #CE5241 #41CE52
tetradic
#5241CE #CE4176 #BDCE41 #41CE98
square
#5241CE #CE4176 #BDCE41 #41CE98
split-complementary
#5241CE #CE9841 #76CE41
monochromatic
#291E76 #3A2BA7 #5241CE #7E72DB #ABA2E7

Accessibility & contrast

On white

6.99
#5241CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#5241CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5241CE
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5241CE#FFFFFF#000000##FFFFFF
##5241CE1.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED2
Deuteranopia (green-blind)
#0054CB
Tritanopia (blue-blind)
#006682
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5241ce;
/* rgb */ color: rgb(82, 65, 206);
/* oklch */ color: oklch(48.5% 0.207 280.8);
Tailwind
colors: {
  custom: {
    50: '#9077de',
    500: '#5241ce',
    950: '#000000',
  },
}
SCSS
$custom: #5241ce;
$custom-light: #9077de;
$custom-dark: #000000;
JSON
{
  "hex": "#5241ce",
  "rgb": {
    "r": 82,
    "g": 65,
    "b": 206
  },
  "hsl": {
    "h": 247.234,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.48457,
    "c": 0.20694,
    "h": 280.8
  },
  "luminance": 0.10031
}

Semantic roles & 50–950 ramp

primary
#5241CE
secondary
#CCD497
accent
#E246CF
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5241CE

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

Preview Lab → · Contrast checker → · Palette generator →

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