#4837BD#4837BD

#4837BD is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.7% C 0.199 H 280.4°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#4837BD
RGBrgb(72, 55, 189)
HSLhsl(248, 55%, 48%)
HSVhsv(248, 71%, 74%)
CMYKcmyk(61.9%, 70.9%, 0%, 25.9%)
CIE-LABlab(33.53, 45.59, -67.81)
CIE-LCHlch(33.53, 81.71, 303.91°)
OKLaboklab(44.66% 0.0359 -0.1955)
OKLCHoklch(44.66% 0.199 280.4)
XYZxyz(13.2211, 7.7832, 48.9399)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4837BD #ACBD37
analogous
#3769BD #4837BD #8B37BD
triadic
#4837BD #BD4837 #37BD48
tetradic
#4837BD #BD3769 #ACBD37 #37BD8B
square
#4837BD #BD3769 #ACBD37 #37BD8B
split-complementary
#4837BD #BD8B37 #69BD37
monochromatic
#241B5E #36298E #4837BD #6F60D1 #9A90DF

Accessibility & contrast

On white

8.21
#4837BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4837BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4837BD
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4837BD#FFFFFF#000000##FFFFFF
##4837BD1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C1
Deuteranopia (green-blind)
#004ABA
Tritanopia (blue-blind)
#005B76
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4837bd;
/* rgb */ color: rgb(72, 55, 189);
/* oklch */ color: oklch(44.7% 0.199 280.4);
Tailwind
colors: {
  custom: {
    50: '#8970d2',
    500: '#4837bd',
    950: '#000000',
  },
}
SCSS
$custom: #4837bd;
$custom-light: #8970d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4837bd",
  "rgb": {
    "r": 72,
    "g": 55,
    "b": 189
  },
  "hsl": {
    "h": 247.612,
    "s": 54.918,
    "l": 47.843
  },
  "oklch": {
    "l": 0.44662,
    "c": 0.19882,
    "h": 280.4
  },
  "luminance": 0.07784
}

Semantic roles & 50–950 ramp

primary
#4837BD
secondary
#C1C986
accent
#DE4ACB
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4837BD

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

Preview Lab → · Contrast checker → · Palette generator →

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