#4837B2#4837B2

#4837B2 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.6% C 0.185 H 281.8°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#4837B2
RGBrgb(72, 55, 178)
HSLhsl(248, 53%, 46%)
HSVhsv(248, 69%, 70%)
CMYKcmyk(59.6%, 69.1%, 0%, 30.2%)
CIE-LABlab(32.53, 42.14, -62.93)
CIE-LCHlch(32.53, 75.74, 303.81°)
OKLaboklab(43.65% 0.0378 -0.1812)
OKLCHoklch(43.65% 0.185 281.8)
XYZxyz(12.0720, 7.3236, 42.8883)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4837B2 #A1B237
analogous
#3763B2 #4837B2 #8537B2
triadic
#4837B2 #B24837 #37B248
tetradic
#4837B2 #B23763 #A1B237 #37B285
square
#4837B2 #B23763 #A1B237 #37B285
split-complementary
#4837B2 #B28537 #63B237
monochromatic
#221A54 #352983 #4837B2 #6A5ACC #9489DB

Accessibility & contrast

On white

8.52
#4837B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4837B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4837B2
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4837B2#FFFFFF#000000##FFFFFF
##4837B21.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#0048B0
Tritanopia (blue-blind)
#005770
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4837b2;
/* rgb */ color: rgb(72, 55, 178);
/* oklch */ color: oklch(43.6% 0.185 281.8);
Tailwind
colors: {
  custom: {
    50: '#876fca',
    500: '#4837b2',
    950: '#000000',
  },
}
SCSS
$custom: #4837b2;
$custom-light: #876fca;
$custom-dark: #000000;
JSON
{
  "hex": "#4837b2",
  "rgb": {
    "r": 72,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 248.293,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.43646,
    "c": 0.18516,
    "h": 281.8
  },
  "luminance": 0.07324
}

Semantic roles & 50–950 ramp

primary
#4837B2
secondary
#BBC580
accent
#DC4CC8
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4837B2

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

Preview Lab → · Contrast checker → · Palette generator →

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