#5241BC#5241BC

#5241BC is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.9% C 0.184 H 282.9°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#5241BC
RGBrgb(82, 65, 188)
HSLhsl(248, 49%, 50%)
HSVhsv(248, 65%, 74%)
CMYKcmyk(56.4%, 65.4%, 0%, 26.3%)
CIE-LABlab(36.37, 41.07, -62.53)
CIE-LCHlch(36.37, 74.81, 303.30°)
OKLaboklab(46.89% 0.0413 -0.1798)
OKLCHoklch(46.89% 0.184 282.9)
XYZxyz(14.4443, 9.2044, 48.5827)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5241BC #ABBC41
analogous
#416DBC #5241BC #9041BC
triadic
#5241BC #BC5241 #41BC52
tetradic
#5241BC #BC416D #ABBC41 #41BC90
square
#5241BC #BC416D #ABBC41 #41BC90
split-complementary
#5241BC #BC9041 #6DBC41
monochromatic
#2A2261 #3E318F #5241BC #7B6ECD #A49BDC

Accessibility & contrast

On white

7.39
#5241BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#5241BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5241BC
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5241BC#FFFFFF#000000##FFFFFF
##5241BC1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#0051BA
Tritanopia (blue-blind)
#1D6079
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5241bc;
/* rgb */ color: rgb(82, 65, 188);
/* oklch */ color: oklch(46.9% 0.184 282.9);
Tailwind
colors: {
  custom: {
    50: '#8d77d1',
    500: '#5241bc',
    950: '#000000',
  },
}
SCSS
$custom: #5241bc;
$custom-light: #8d77d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5241bc",
  "rgb": {
    "r": 82,
    "g": 65,
    "b": 188
  },
  "hsl": {
    "h": 248.293,
    "s": 48.617,
    "l": 49.608
  },
  "oklch": {
    "l": 0.46891,
    "c": 0.18444,
    "h": 282.9
  },
  "luminance": 0.09205
}

Semantic roles & 50–950 ramp

primary
#5241BC
secondary
#C1C990
accent
#D850C5
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5241BC

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

Preview Lab → · Contrast checker → · Palette generator →

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