#5241CF#5241CF

#5241CF is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.5% C 0.208 H 280.7°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#5241CF
RGBrgb(82, 65, 207)
HSLhsl(247, 60%, 53%)
HSVhsv(247, 69%, 81%)
CMYKcmyk(60.4%, 68.6%, 0%, 18.8%)
CIE-LABlab(37.98, 46.97, -70.98)
CIE-LCHlch(37.98, 85.11, 303.49°)
OKLaboklab(48.55% 0.0387 -0.2045)
OKLCHoklch(48.55% 0.208 280.7)
XYZxyz(16.6289, 10.0782, 60.0884)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5241CF #BECF41
analogous
#4177CF #5241CF #9941CF
triadic
#5241CF #CF5241 #41CF52
tetradic
#5241CF #CF4177 #BECF41 #41CF99
square
#5241CF #CF4177 #BECF41 #41CF99
split-complementary
#5241CF #CF9941 #77CF41
monochromatic
#291E77 #3A2BA8 #5241CF #7E72DB #ABA3E8

Accessibility & contrast

On white

6.96
#5241CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#5241CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5241CF
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5241CF#FFFFFF#000000##FFFFFF
##5241CF1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED3
Deuteranopia (green-blind)
#0054CC
Tritanopia (blue-blind)
#006783
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5241cf;
/* rgb */ color: rgb(82, 65, 207);
/* oklch */ color: oklch(48.5% 0.208 280.7);
Tailwind
colors: {
  custom: {
    50: '#9077df',
    500: '#5241cf',
    950: '#000000',
  },
}
SCSS
$custom: #5241cf;
$custom-light: #9077df;
$custom-dark: #000000;
JSON
{
  "hex": "#5241cf",
  "rgb": {
    "r": 82,
    "g": 65,
    "b": 207
  },
  "hsl": {
    "h": 247.183,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.48546,
    "c": 0.20817,
    "h": 280.7
  },
  "luminance": 0.10079
}

Semantic roles & 50–950 ramp

primary
#5241CF
secondary
#CDD497
accent
#E345D0
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5241CF

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

Preview Lab → · Contrast checker → · Palette generator →

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