#5241CB#5241CB

#5241CB is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.2% C 0.203 H 281.2°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#5241CB
RGBrgb(82, 65, 203)
HSLhsl(247, 57%, 53%)
HSVhsv(247, 68%, 80%)
CMYKcmyk(59.6%, 68%, 0%, 20.4%)
CIE-LABlab(37.64, 45.73, -69.23)
CIE-LCHlch(37.64, 82.97, 303.45°)
OKLaboklab(48.19% 0.0393 -0.1994)
OKLCHoklch(48.19% 0.203 281.2)
XYZxyz(16.1461, 9.8851, 57.5455)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5241CB #BACB41
analogous
#4175CB #5241CB #9741CB
triadic
#5241CB #CB5241 #41CB52
tetradic
#5241CB #CB4175 #BACB41 #41CB97
square
#5241CB #CB4175 #BACB41 #41CB97
split-complementary
#5241CB #CB9741 #75CB41
monochromatic
#2A1F72 #3B2CA2 #5241CB #7E71D8 #AAA1E5

Accessibility & contrast

On white

7.05
#5241CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#5241CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5241CB
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5241CB#FFFFFF#000000##FFFFFF
##5241CB1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCF
Deuteranopia (green-blind)
#0053C8
Tritanopia (blue-blind)
#006581
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5241cb;
/* rgb */ color: rgb(82, 65, 203);
/* oklch */ color: oklch(48.2% 0.203 281.2);
Tailwind
colors: {
  custom: {
    50: '#8f77dc',
    500: '#5241cb',
    950: '#000000',
  },
}
SCSS
$custom: #5241cb;
$custom-light: #8f77dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5241cb",
  "rgb": {
    "r": 82,
    "g": 65,
    "b": 203
  },
  "hsl": {
    "h": 247.391,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.4819,
    "c": 0.20325,
    "h": 281.2
  },
  "luminance": 0.09886
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5241CB

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

Preview Lab → · Contrast checker → · Palette generator →

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