#4837AC#4837AC

#4837AC is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.1% C 0.178 H 282.6°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#4837AC
RGBrgb(72, 55, 172)
HSLhsl(249, 52%, 45%)
HSVhsv(249, 68%, 67%)
CMYKcmyk(58.1%, 68%, 0%, 32.5%)
CIE-LABlab(32.01, 40.25, -60.21)
CIE-LCHlch(32.01, 72.43, 303.76°)
OKLaboklab(43.11% 0.0388 -0.1733)
OKLCHoklch(43.11% 0.178 282.6)
XYZxyz(11.4828, 7.0879, 39.7847)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4837AC #9BAC37
analogous
#3761AC #4837AC #8337AC
triadic
#4837AC #AC4837 #37AC48
tetradic
#4837AC #AC3761 #9BAC37 #37AC83
square
#4837AC #AC3761 #9BAC37 #37AC83
split-complementary
#4837AC #AC8337 #61AC37
monochromatic
#21194F #35287E #4837AC #6857C9 #9185D8

Accessibility & contrast

On white

8.69
#4837AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4837AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4837AC
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4837AC#FFFFFF#000000##FFFFFF
##4837AC1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB0
Deuteranopia (green-blind)
#0047AA
Tritanopia (blue-blind)
#0F556D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4837ac;
/* rgb */ color: rgb(72, 55, 172);
/* oklch */ color: oklch(43.1% 0.178 282.6);
Tailwind
colors: {
  custom: {
    50: '#866fc6',
    500: '#4837ac',
    950: '#000000',
  },
}
SCSS
$custom: #4837ac;
$custom-light: #866fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#4837ac",
  "rgb": {
    "r": 72,
    "g": 55,
    "b": 172
  },
  "hsl": {
    "h": 248.718,
    "s": 51.542,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43105,
    "c": 0.17756,
    "h": 282.6
  },
  "luminance": 0.07089
}

Semantic roles & 50–950 ramp

primary
#4837AC
secondary
#B8C27D
accent
#DB4DC6
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4837AC

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

Preview Lab → · Contrast checker → · Palette generator →

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