#4837A2#4837A2

#4837A2 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.2% C 0.165 H 284.1°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#4837A2
RGBrgb(72, 55, 162)
HSLhsl(250, 49%, 43%)
HSVhsv(250, 66%, 64%)
CMYKcmyk(55.6%, 66%, 0%, 36.5%)
CIE-LABlab(31.16, 37.10, -55.59)
CIE-LCHlch(31.16, 66.83, 303.72°)
OKLaboklab(42.23% 0.0401 -0.1597)
OKLCHoklch(42.23% 0.165 284.1)
XYZxyz(10.5583, 6.7181, 34.9158)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4837A2 #91A237
analogous
#375BA2 #4837A2 #7E37A2
triadic
#4837A2 #A24837 #37A248
tetradic
#4837A2 #A2375B #91A237 #37A27E
square
#4837A2 #A2375B #91A237 #37A27E
split-complementary
#4837A2 #A27E37 #5BA237
monochromatic
#1F1847 #342774 #4837A2 #6452C4 #8D80D4

Accessibility & contrast

On white

8.96
#4837A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4837A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4837A2
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4837A2#FFFFFF#000000##FFFFFF
##4837A21.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#0046A0
Tritanopia (blue-blind)
#1F5267
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4837a2;
/* rgb */ color: rgb(72, 55, 162);
/* oklch */ color: oklch(42.2% 0.165 284.1);
Tailwind
colors: {
  custom: {
    50: '#846fbe',
    500: '#4837a2',
    950: '#000000',
  },
}
SCSS
$custom: #4837a2;
$custom-light: #846fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#4837a2",
  "rgb": {
    "r": 72,
    "g": 55,
    "b": 162
  },
  "hsl": {
    "h": 249.533,
    "s": 49.309,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42228,
    "c": 0.16466,
    "h": 284.1
  },
  "luminance": 0.06719
}

Semantic roles & 50–950 ramp

primary
#4837A2
secondary
#B2BD78
accent
#D94FC3
background
#F8F6FB
surface
#F0ECF7
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4837A2

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

Preview Lab → · Contrast checker → · Palette generator →

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