#5241CC#5241CC

#5241CC is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.3% C 0.204 H 281.0°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#5241CC
RGBrgb(82, 65, 204)
HSLhsl(247, 58%, 53%)
HSVhsv(247, 68%, 80%)
CMYKcmyk(59.8%, 68.1%, 0%, 20%)
CIE-LABlab(37.72, 46.04, -69.67)
CIE-LCHlch(37.72, 83.50, 303.46°)
OKLaboklab(48.28% 0.0392 -0.2007)
OKLCHoklch(48.28% 0.204 281)
XYZxyz(16.2656, 9.9329, 58.1751)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5241CC #BBCC41
analogous
#4176CC #5241CC #9741CC
triadic
#5241CC #CC5241 #41CC52
tetradic
#5241CC #CC4176 #BBCC41 #41CC97
square
#5241CC #CC4176 #BBCC41 #41CC97
split-complementary
#5241CC #CC9741 #76CC41
monochromatic
#291F74 #3B2CA4 #5241CC #7E71D9 #AAA1E6

Accessibility & contrast

On white

7.03
#5241CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#5241CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5241CC
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5241CC#FFFFFF#000000##FFFFFF
##5241CC1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED0
Deuteranopia (green-blind)
#0054C9
Tritanopia (blue-blind)
#006681
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5241cc;
/* rgb */ color: rgb(82, 65, 204);
/* oklch */ color: oklch(48.3% 0.204 281.0);
Tailwind
colors: {
  custom: {
    50: '#9077dd',
    500: '#5241cc',
    950: '#000000',
  },
}
SCSS
$custom: #5241cc;
$custom-light: #9077dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5241cc",
  "rgb": {
    "r": 82,
    "g": 65,
    "b": 204
  },
  "hsl": {
    "h": 247.338,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.48279,
    "c": 0.20449,
    "h": 281
  },
  "luminance": 0.09934
}

Semantic roles & 50–950 ramp

primary
#5241CC
secondary
#CBD396
accent
#E147CE
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5241CC

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

Preview Lab → · Contrast checker → · Palette generator →

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