#4837C2#4837C2

#4837C2 is a mid, highly saturated blue. Relative luminance 0.080; OKLCH L 45.1% C 0.205 H 279.8°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#4837C2
RGBrgb(72, 55, 194)
HSLhsl(247, 56%, 49%)
HSVhsv(247, 72%, 76%)
CMYKcmyk(62.9%, 71.6%, 0%, 23.9%)
CIE-LABlab(33.99, 47.14, -69.99)
CIE-LCHlch(33.99, 84.38, 303.97°)
OKLaboklab(45.13% 0.035 -0.2019)
OKLCHoklch(45.13% 0.205 279.8)
XYZxyz(13.7732, 8.0041, 51.8476)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4837C2 #B1C237
analogous
#376CC2 #4837C2 #8E37C2
triadic
#4837C2 #C24837 #37C248
tetradic
#4837C2 #C2376C #B1C237 #37C28E
square
#4837C2 #C2376C #B1C237 #37C28E
split-complementary
#4837C2 #C28E37 #6CC237
monochromatic
#251C63 #362992 #4837C2 #7163D3 #9C93E0

Accessibility & contrast

On white

8.07
#4837C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4837C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4837C2
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4837C2#FFFFFF#000000##FFFFFF
##4837C21.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C6
Deuteranopia (green-blind)
#004BBF
Tritanopia (blue-blind)
#005D79
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4837c2;
/* rgb */ color: rgb(72, 55, 194);
/* oklch */ color: oklch(45.1% 0.205 279.8);
Tailwind
colors: {
  custom: {
    50: '#8a70d6',
    500: '#4837c2',
    950: '#000000',
  },
}
SCSS
$custom: #4837c2;
$custom-light: #8a70d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4837c2",
  "rgb": {
    "r": 72,
    "g": 55,
    "b": 194
  },
  "hsl": {
    "h": 247.338,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45134,
    "c": 0.20492,
    "h": 279.8
  },
  "luminance": 0.08005
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4837C2

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

Preview Lab → · Contrast checker → · Palette generator →

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