#4837C1#4837C1

#4837C1 is a mid, highly saturated blue. Relative luminance 0.080; OKLCH L 45.0% C 0.204 H 279.9°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#4837C1
RGBrgb(72, 55, 193)
HSLhsl(247, 56%, 49%)
HSVhsv(247, 72%, 76%)
CMYKcmyk(62.7%, 71.5%, 0%, 24.3%)
CIE-LABlab(33.90, 46.83, -69.55)
CIE-LCHlch(33.90, 83.85, 303.95°)
OKLaboklab(45.04% 0.0352 -0.2006)
OKLCHoklch(45.04% 0.204 279.9)
XYZxyz(13.6613, 7.9593, 51.2581)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4837C1 #B0C137
analogous
#376BC1 #4837C1 #8D37C1
triadic
#4837C1 #C14837 #37C148
tetradic
#4837C1 #C1376B #B0C137 #37C18D
square
#4837C1 #C1376B #B0C137 #37C18D
split-complementary
#4837C1 #C18D37 #6BC137
monochromatic
#241C62 #362991 #4837C1 #7063D2 #9C92E0

Accessibility & contrast

On white

8.10
#4837C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4837C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4837C1
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4837C1#FFFFFF#000000##FFFFFF
##4837C11.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C5
Deuteranopia (green-blind)
#004ABE
Tritanopia (blue-blind)
#005D78
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4837c1;
/* rgb */ color: rgb(72, 55, 193);
/* oklch */ color: oklch(45.0% 0.204 279.9);
Tailwind
colors: {
  custom: {
    50: '#8970d5',
    500: '#4837c1',
    950: '#000000',
  },
}
SCSS
$custom: #4837c1;
$custom-light: #8970d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4837c1",
  "rgb": {
    "r": 72,
    "g": 55,
    "b": 193
  },
  "hsl": {
    "h": 247.391,
    "s": 55.645,
    "l": 48.627
  },
  "oklch": {
    "l": 0.45039,
    "c": 0.2037,
    "h": 279.9
  },
  "luminance": 0.0796
}

Semantic roles & 50–950 ramp

primary
#4837C1
secondary
#C3CB89
accent
#DF49CC
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4837C1

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

Preview Lab → · Contrast checker → · Palette generator →

#4837C1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva