#4837BC#4837BC

#4837BC is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.6% C 0.198 H 280.5°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#4837BC
RGBrgb(72, 55, 188)
HSLhsl(248, 55%, 48%)
HSVhsv(248, 71%, 74%)
CMYKcmyk(61.7%, 70.7%, 0%, 26.3%)
CIE-LABlab(33.44, 45.28, -67.37)
CIE-LCHlch(33.44, 81.17, 303.90°)
OKLaboklab(44.57% 0.0361 -0.1943)
OKLCHoklch(44.57% 0.198 280.5)
XYZxyz(13.1129, 7.7400, 48.3702)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4837BC #ABBC37
analogous
#3769BC #4837BC #8A37BC
triadic
#4837BC #BC4837 #37BC48
tetradic
#4837BC #BC3769 #ABBC37 #37BC8A
square
#4837BC #BC3769 #ABBC37 #37BC8A
split-complementary
#4837BC #BC8A37 #69BC37
monochromatic
#241B5D #36298D #4837BC #6E60D0 #998FDE

Accessibility & contrast

On white

8.24
#4837BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4837BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4837BC
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4837BC#FFFFFF#000000##FFFFFF
##4837BC1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4837bc;
/* rgb */ color: rgb(72, 55, 188);
/* oklch */ color: oklch(44.6% 0.198 280.5);
Tailwind
colors: {
  custom: {
    50: '#8870d1',
    500: '#4837bc',
    950: '#000000',
  },
}
SCSS
$custom: #4837bc;
$custom-light: #8870d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4837bc",
  "rgb": {
    "r": 72,
    "g": 55,
    "b": 188
  },
  "hsl": {
    "h": 247.669,
    "s": 54.733,
    "l": 47.647
  },
  "oklch": {
    "l": 0.44568,
    "c": 0.19759,
    "h": 280.5
  },
  "luminance": 0.07741
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4837BC

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

Preview Lab → · Contrast checker → · Palette generator →

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