#4A37B2#4A37B2

#4A37B2 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.8% C 0.185 H 282.7°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#4A37B2
RGBrgb(74, 55, 178)
HSLhsl(249, 53%, 46%)
HSVhsv(249, 69%, 70%)
CMYKcmyk(58.4%, 69.1%, 0%, 30.2%)
CIE-LABlab(32.70, 42.45, -62.64)
CIE-LCHlch(32.70, 75.67, 304.12°)
OKLaboklab(43.81% 0.0406 -0.1803)
OKLCHoklch(43.81% 0.185 282.7)
XYZxyz(12.2236, 7.4018, 42.8954)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A37B2 #9FB237
analogous
#3761B2 #4A37B2 #8737B2
triadic
#4A37B2 #B24A37 #37B24A
tetradic
#4A37B2 #B23761 #9FB237 #37B287
square
#4A37B2 #B23761 #9FB237 #37B287
split-complementary
#4A37B2 #B28737 #61B237
monochromatic
#231A54 #372983 #4A37B2 #6C5ACC #9589DB

Accessibility & contrast

On white

8.47
#4A37B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4A37B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A37B2
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A37B2#FFFFFF#000000##FFFFFF
##4A37B21.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#0B5770
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4a37b2;
/* rgb */ color: rgb(74, 55, 178);
/* oklch */ color: oklch(43.8% 0.185 282.7);
Tailwind
colors: {
  custom: {
    50: '#886fca',
    500: '#4a37b2',
    950: '#000000',
  },
}
SCSS
$custom: #4a37b2;
$custom-light: #886fca;
$custom-dark: #000000;
JSON
{
  "hex": "#4a37b2",
  "rgb": {
    "r": 74,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 249.268,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.43812,
    "c": 0.18486,
    "h": 282.7
  },
  "luminance": 0.07403
}

Semantic roles & 50–950 ramp

primary
#4A37B2
secondary
#BAC580
accent
#DC4CC6
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4A37B2

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

Preview Lab → · Contrast checker → · Palette generator →

#4A37B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva