#4837C5#4837C5

#4837C5 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.4% C 0.209 H 279.5°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#4837C5
RGBrgb(72, 55, 197)
HSLhsl(247, 56%, 49%)
HSVhsv(247, 72%, 77%)
CMYKcmyk(63.5%, 72.1%, 0%, 22.7%)
CIE-LABlab(34.27, 48.08, -71.28)
CIE-LCHlch(34.27, 85.98, 304.00°)
OKLaboklab(45.42% 0.0344 -0.2057)
OKLCHoklch(45.42% 0.209 279.5)
XYZxyz(14.1135, 8.1402, 53.6400)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4837C5 #B4C537
analogous
#376DC5 #4837C5 #8F37C5
triadic
#4837C5 #C54837 #37C548
tetradic
#4837C5 #C5376D #B4C537 #37C58F
square
#4837C5 #C5376D #B4C537 #37C58F
split-complementary
#4837C5 #C58F37 #6DC537
monochromatic
#251C65 #372A95 #4837C5 #7265D4 #9E95E1

Accessibility & contrast

On white

7.99
#4837C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#4837C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4837C5
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4837C5#FFFFFF#000000##FFFFFF
##4837C51.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C9
Deuteranopia (green-blind)
#004BC2
Tritanopia (blue-blind)
#005E7B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4837c5;
/* rgb */ color: rgb(72, 55, 197);
/* oklch */ color: oklch(45.4% 0.209 279.5);
Tailwind
colors: {
  custom: {
    50: '#8a70d8',
    500: '#4837c5',
    950: '#000000',
  },
}
SCSS
$custom: #4837c5;
$custom-light: #8a70d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4837c5",
  "rgb": {
    "r": 72,
    "g": 55,
    "b": 197
  },
  "hsl": {
    "h": 247.183,
    "s": 56.349,
    "l": 49.412
  },
  "oklch": {
    "l": 0.4542,
    "c": 0.20855,
    "h": 279.5
  },
  "luminance": 0.08141
}

Semantic roles & 50–950 ramp

primary
#4837C5
secondary
#C5CD8B
accent
#E048CE
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4837C5

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

Preview Lab → · Contrast checker → · Palette generator →

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