#4837DE#4837DE

#4837DE is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 47.9% C 0.238 H 277.0°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#4837DE
RGBrgb(72, 55, 222)
HSLhsl(246, 72%, 54%)
HSVhsv(246, 75%, 87%)
CMYKcmyk(67.6%, 75.2%, 0%, 12.9%)
CIE-LABlab(36.71, 55.72, -81.73)
CIE-LCHlch(36.71, 98.92, 304.28°)
OKLaboklab(47.87% 0.0291 -0.2362)
OKLCHoklch(47.87% 0.238 277)
XYZxyz(17.2192, 9.3825, 69.9966)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4837DE #CDDE37
analogous
#377ADE #4837DE #9C37DE
triadic
#4837DE #DE4837 #37DE48
tetradic
#4837DE #DE377A #CDDE37 #37DE9C
square
#4837DE #DE377A #CDDE37 #37DE9C
split-complementary
#4837DE #DE9C37 #7ADE37
monochromatic
#211685 #2E1FB9 #4837DE #786CE7 #A8A0EF

Accessibility & contrast

On white

7.30
#4837DE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#4837DE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4837DE
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4837DE#FFFFFF#000000##FFFFFF
##4837DE1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DE3
Deuteranopia (green-blind)
#004FDB
Tritanopia (blue-blind)
#006889
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4837de;
/* rgb */ color: rgb(72, 55, 222);
/* oklch */ color: oklch(47.9% 0.238 277.0);
Tailwind
colors: {
  custom: {
    50: '#8f71ea',
    500: '#4837de',
    950: '#000000',
  },
}
SCSS
$custom: #4837de;
$custom-light: #8f71ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4837de",
  "rgb": {
    "r": 72,
    "g": 55,
    "b": 222
  },
  "hsl": {
    "h": 246.108,
    "s": 71.674,
    "l": 54.314
  },
  "oklch": {
    "l": 0.47874,
    "c": 0.23797,
    "h": 277
  },
  "luminance": 0.09384
}

Semantic roles & 50–950 ramp

primary
#4837DE
secondary
#D5DC95
accent
#EE39DC
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4837DE

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

Preview Lab → · Contrast checker → · Palette generator →

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