#5241BB#5241BB

#5241BB is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.8% C 0.183 H 283.1°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#5241BB
RGBrgb(82, 65, 187)
HSLhsl(248, 48%, 49%)
HSVhsv(248, 65%, 73%)
CMYKcmyk(56.1%, 65.2%, 0%, 26.7%)
CIE-LABlab(36.29, 40.76, -62.07)
CIE-LCHlch(36.29, 74.26, 303.29°)
OKLaboklab(46.81% 0.0414 -0.1784)
OKLCHoklch(46.81% 0.183 283.1)
XYZxyz(14.3369, 9.1614, 48.0169)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5241BB #AABB41
analogous
#416DBB #5241BB #8F41BB
triadic
#5241BB #BB5241 #41BB52
tetradic
#5241BB #BB416D #AABB41 #41BB8F
square
#5241BB #BB416D #AABB41 #41BB8F
split-complementary
#5241BB #BB8F41 #6DBB41
monochromatic
#2A2160 #3E318E #5241BB #7A6DCC #A49ADC

Accessibility & contrast

On white

7.41
#5241BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#5241BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5241BB
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5241BB#FFFFFF#000000##FFFFFF
##5241BB1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BF
Deuteranopia (green-blind)
#0051B9
Tritanopia (blue-blind)
#1E6078
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5241bb;
/* rgb */ color: rgb(82, 65, 187);
/* oklch */ color: oklch(46.8% 0.183 283.1);
Tailwind
colors: {
  custom: {
    50: '#8d77d0',
    500: '#5241bb',
    950: '#000000',
  },
}
SCSS
$custom: #5241bb;
$custom-light: #8d77d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5241bb",
  "rgb": {
    "r": 82,
    "g": 65,
    "b": 187
  },
  "hsl": {
    "h": 248.361,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.46806,
    "c": 0.18316,
    "h": 283.1
  },
  "luminance": 0.09162
}

Semantic roles & 50–950 ramp

primary
#5241BB
secondary
#C0C890
accent
#D850C5
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #5241BB

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

Preview Lab → · Contrast checker → · Palette generator →

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