#4837C4#4837C4

#4837C4 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.3% C 0.207 H 279.6°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#4837C4
RGBrgb(72, 55, 196)
HSLhsl(247, 56%, 49%)
HSVhsv(247, 72%, 77%)
CMYKcmyk(63.3%, 71.9%, 0%, 23.1%)
CIE-LABlab(34.18, 47.77, -70.85)
CIE-LCHlch(34.18, 85.45, 303.99°)
OKLaboklab(45.32% 0.0346 -0.2044)
OKLCHoklch(45.32% 0.207 279.6)
XYZxyz(13.9993, 8.0945, 53.0385)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4837C4 #B3C437
analogous
#376DC4 #4837C4 #8F37C4
triadic
#4837C4 #C44837 #37C448
tetradic
#4837C4 #C4376D #B3C437 #37C48F
square
#4837C4 #C4376D #B3C437 #37C48F
split-complementary
#4837C4 #C48F37 #6DC437
monochromatic
#251C64 #362A94 #4837C4 #7265D4 #9E94E1

Accessibility & contrast

On white

8.02
#4837C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4837C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4837C4
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4837C4#FFFFFF#000000##FFFFFF
##4837C41.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C8
Deuteranopia (green-blind)
#004BC1
Tritanopia (blue-blind)
#005E7A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4837c4;
/* rgb */ color: rgb(72, 55, 196);
/* oklch */ color: oklch(45.3% 0.207 279.6);
Tailwind
colors: {
  custom: {
    50: '#8a70d7',
    500: '#4837c4',
    950: '#000000',
  },
}
SCSS
$custom: #4837c4;
$custom-light: #8a70d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4837c4",
  "rgb": {
    "r": 72,
    "g": 55,
    "b": 196
  },
  "hsl": {
    "h": 247.234,
    "s": 56.175,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45324,
    "c": 0.20734,
    "h": 279.6
  },
  "luminance": 0.08096
}

Semantic roles & 50–950 ramp

primary
#4837C4
secondary
#C4CC8B
accent
#DF48CD
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4837C4

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

Preview Lab → · Contrast checker → · Palette generator →

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