#4837C9#4837C9

#4837C9 is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.8% C 0.213 H 279.1°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#4837C9
RGBrgb(72, 55, 201)
HSLhsl(247, 57%, 50%)
HSVhsv(247, 73%, 79%)
CMYKcmyk(64.2%, 72.6%, 0%, 21.2%)
CIE-LABlab(34.65, 49.31, -72.99)
CIE-LCHlch(34.65, 88.09, 304.04°)
OKLaboklab(45.8% 0.0336 -0.2107)
OKLCHoklch(45.8% 0.213 279.1)
XYZxyz(14.5779, 8.3260, 56.0859)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4837C9 #B8C937
analogous
#376FC9 #4837C9 #9137C9
triadic
#4837C9 #C94837 #37C948
tetradic
#4837C9 #C9376F #B8C937 #37C991
square
#4837C9 #C9376F #B8C937 #37C991
split-complementary
#4837C9 #C99137 #6FC937
monochromatic
#251C69 #362999 #4837C9 #7467D6 #A097E3

Accessibility & contrast

On white

7.88
#4837C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4837C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4837C9
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4837C9#FFFFFF#000000##FFFFFF
##4837C91.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CD
Deuteranopia (green-blind)
#004CC6
Tritanopia (blue-blind)
#00607D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4837c9;
/* rgb */ color: rgb(72, 55, 201);
/* oklch */ color: oklch(45.8% 0.213 279.1);
Tailwind
colors: {
  custom: {
    50: '#8b70db',
    500: '#4837c9',
    950: '#000000',
  },
}
SCSS
$custom: #4837c9;
$custom-light: #8b70db;
$custom-dark: #000000;
JSON
{
  "hex": "#4837c9",
  "rgb": {
    "r": 72,
    "g": 55,
    "b": 201
  },
  "hsl": {
    "h": 246.986,
    "s": 57.48,
    "l": 50.196
  },
  "oklch": {
    "l": 0.45804,
    "c": 0.21335,
    "h": 279.1
  },
  "luminance": 0.08327
}

Semantic roles & 50–950 ramp

primary
#4837C9
secondary
#C7CF8D
accent
#E147CF
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4837C9

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

Preview Lab → · Contrast checker → · Palette generator →

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