#5241CD#5241CD

#5241CD is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 48.4% C 0.206 H 280.9°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#5241CD
RGBrgb(82, 65, 205)
HSLhsl(247, 58%, 53%)
HSVhsv(247, 68%, 80%)
CMYKcmyk(60%, 68.3%, 0%, 19.6%)
CIE-LABlab(37.81, 46.35, -70.10)
CIE-LCHlch(37.81, 84.04, 303.47°)
OKLaboklab(48.37% 0.039 -0.202)
OKLCHoklch(48.37% 0.206 280.9)
XYZxyz(16.3860, 9.9810, 58.8088)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5241CD #BCCD41
analogous
#4176CD #5241CD #9841CD
triadic
#5241CD #CD5241 #41CD52
tetradic
#5241CD #CD4176 #BCCD41 #41CD98
square
#5241CD #CD4176 #BCCD41 #41CD98
split-complementary
#5241CD #CD9841 #76CD41
monochromatic
#291F75 #3A2CA5 #5241CD #7E71DA #AAA2E6

Accessibility & contrast

On white

7.01
#5241CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#5241CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5241CD
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5241CD#FFFFFF#000000##FFFFFF
##5241CD1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED1
Deuteranopia (green-blind)
#0054CA
Tritanopia (blue-blind)
#006682
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5241cd;
/* rgb */ color: rgb(82, 65, 205);
/* oklch */ color: oklch(48.4% 0.206 280.9);
Tailwind
colors: {
  custom: {
    50: '#9077dd',
    500: '#5241cd',
    950: '#000000',
  },
}
SCSS
$custom: #5241cd;
$custom-light: #9077dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5241cd",
  "rgb": {
    "r": 82,
    "g": 65,
    "b": 205
  },
  "hsl": {
    "h": 247.286,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.48368,
    "c": 0.20571,
    "h": 280.9
  },
  "luminance": 0.09982
}

Semantic roles & 50–950 ramp

primary
#5241CD
secondary
#CCD397
accent
#E246CF
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5241CD

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

Preview Lab → · Contrast checker → · Palette generator →

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