#5241CA#5241CA

#5241CA is a mid, highly saturated blue. Relative luminance 0.098; OKLCH L 48.1% C 0.202 H 281.3°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#5241CA
RGBrgb(82, 65, 202)
HSLhsl(247, 56%, 52%)
HSVhsv(247, 68%, 79%)
CMYKcmyk(59.4%, 67.8%, 0%, 20.8%)
CIE-LABlab(37.55, 45.42, -68.79)
CIE-LCHlch(37.55, 82.43, 303.44°)
OKLaboklab(48.1% 0.0395 -0.1981)
OKLCHoklch(48.1% 0.202 281.3)
XYZxyz(16.0273, 9.8376, 56.9199)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5241CA #B9CA41
analogous
#4175CA #5241CA #9641CA
triadic
#5241CA #CA5241 #41CA52
tetradic
#5241CA #CA4175 #B9CA41 #41CA96
square
#5241CA #CA4175 #B9CA41 #41CA96
split-complementary
#5241CA #CA9641 #75CA41
monochromatic
#2A2071 #3B2DA1 #5241CA #7E71D7 #A9A1E5

Accessibility & contrast

On white

7.08
#5241CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#5241CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5241CA
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5241CA#FFFFFF#000000##FFFFFF
##5241CA1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCE
Deuteranopia (green-blind)
#0053C7
Tritanopia (blue-blind)
#006580
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5241ca;
/* rgb */ color: rgb(82, 65, 202);
/* oklch */ color: oklch(48.1% 0.202 281.3);
Tailwind
colors: {
  custom: {
    50: '#8f77db',
    500: '#5241ca',
    950: '#000000',
  },
}
SCSS
$custom: #5241ca;
$custom-light: #8f77db;
$custom-dark: #000000;
JSON
{
  "hex": "#5241ca",
  "rgb": {
    "r": 82,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 247.445,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.48102,
    "c": 0.20202,
    "h": 281.3
  },
  "luminance": 0.09839
}

Semantic roles & 50–950 ramp

primary
#5241CA
secondary
#CAD196
accent
#E048CD
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5241CA

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

Preview Lab → · Contrast checker → · Palette generator →

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