#4837CA#4837CA

#4837CA is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 45.9% C 0.215 H 279.0°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#4837CA
RGBrgb(72, 55, 202)
HSLhsl(247, 58%, 50%)
HSVhsv(247, 73%, 79%)
CMYKcmyk(64.4%, 72.8%, 0%, 20.8%)
CIE-LABlab(34.75, 49.62, -73.42)
CIE-LCHlch(34.75, 88.61, 304.05°)
OKLaboklab(45.9% 0.0334 -0.2119)
OKLCHoklch(45.9% 0.215 279)
XYZxyz(14.6959, 8.3732, 56.7074)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4837CA #B9CA37
analogous
#376FCA #4837CA #9237CA
triadic
#4837CA #CA4837 #37CA48
tetradic
#4837CA #CA376F #B9CA37 #37CA92
square
#4837CA #CA376F #B9CA37 #37CA92
split-complementary
#4837CA #CA9237 #6FCA37
monochromatic
#251C6A #36299B #4837CA #7467D7 #A198E4

Accessibility & contrast

On white

7.85
#4837CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4837CA
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4837CA#FFFFFF#000000##FFFFFF
##4837CA1.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CE
Deuteranopia (green-blind)
#004CC7
Tritanopia (blue-blind)
#00607D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4837ca;
/* rgb */ color: rgb(72, 55, 202);
/* oklch */ color: oklch(45.9% 0.215 279.0);
Tailwind
colors: {
  custom: {
    50: '#8b70db',
    500: '#4837ca',
    950: '#000000',
  },
}
SCSS
$custom: #4837ca;
$custom-light: #8b70db;
$custom-dark: #000000;
JSON
{
  "hex": "#4837ca",
  "rgb": {
    "r": 72,
    "g": 55,
    "b": 202
  },
  "hsl": {
    "h": 246.939,
    "s": 58.103,
    "l": 50.392
  },
  "oklch": {
    "l": 0.459,
    "c": 0.21455,
    "h": 279
  },
  "luminance": 0.08374
}

Semantic roles & 50–950 ramp

primary
#4837CA
secondary
#C8CF8E
accent
#E146CF
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4837CA

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

Preview Lab → · Contrast checker → · Palette generator →

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