#4837DF#4837DF

#4837DF is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 48.0% C 0.239 H 276.9°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#4837DF
RGBrgb(72, 55, 223)
HSLhsl(246, 72%, 55%)
HSVhsv(246, 75%, 87%)
CMYKcmyk(67.7%, 75.3%, 0%, 12.5%)
CIE-LABlab(36.81, 56.02, -82.14)
CIE-LCHlch(36.81, 99.42, 304.29°)
OKLaboklab(47.97% 0.0289 -0.2374)
OKLCHoklch(47.97% 0.239 276.9)
XYZxyz(17.3536, 9.4363, 70.7046)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4837DF #CEDF37
analogous
#377ADF #4837DF #9C37DF
triadic
#4837DF #DF4837 #37DF48
tetradic
#4837DF #DF377A #CEDF37 #37DF9C
square
#4837DF #DF377A #CEDF37 #37DF9C
split-complementary
#4837DF #DF9C37 #7ADF37
monochromatic
#211586 #2E1EBB #4837DF #786CE7 #A9A1F0

Accessibility & contrast

On white

7.27
#4837DF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#4837DF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4837DF
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4837DF#FFFFFF#000000##FFFFFF
##4837DF1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DE4
Deuteranopia (green-blind)
#004FDC
Tritanopia (blue-blind)
#006889
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4837df;
/* rgb */ color: rgb(72, 55, 223);
/* oklch */ color: oklch(48.0% 0.239 276.9);
Tailwind
colors: {
  custom: {
    50: '#8f71ea',
    500: '#4837df',
    950: '#000000',
  },
}
SCSS
$custom: #4837df;
$custom-light: #8f71ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4837df",
  "rgb": {
    "r": 72,
    "g": 55,
    "b": 223
  },
  "hsl": {
    "h": 246.071,
    "s": 72.414,
    "l": 54.51
  },
  "oklch": {
    "l": 0.47974,
    "c": 0.23911,
    "h": 276.9
  },
  "luminance": 0.09438
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4837DF

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

Preview Lab → · Contrast checker → · Palette generator →

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