#4A37BA#4A37BA

#4A37BA is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.5% C 0.195 H 281.6°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#4A37BA
RGBrgb(74, 55, 186)
HSLhsl(249, 54%, 47%)
HSVhsv(249, 70%, 73%)
CMYKcmyk(60.2%, 70.4%, 0%, 27.1%)
CIE-LABlab(33.42, 44.93, -66.21)
CIE-LCHlch(33.42, 80.02, 304.16°)
OKLaboklab(44.54% 0.0392 -0.1908)
OKLCHoklch(44.54% 0.195 281.6)
XYZxyz(13.0504, 7.7325, 47.2497)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A37BA #A7BA37
analogous
#3766BA #4A37BA #8B37BA
triadic
#4A37BA #BA4A37 #37BA4A
tetradic
#4A37BA #BA3766 #A7BA37 #37BA8B
square
#4A37BA #BA3766 #A7BA37 #37BA8B
split-complementary
#4A37BA #BA8B37 #66BA37
monochromatic
#241B5C #37298B #4A37BA #6F5FD0 #998EDE

Accessibility & contrast

On white

8.25
#4A37BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4A37BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A37BA
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A37BA#FFFFFF#000000##FFFFFF
##4A37BA1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BE
Deuteranopia (green-blind)
#004AB8
Tritanopia (blue-blind)
#005A74
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4a37ba;
/* rgb */ color: rgb(74, 55, 186);
/* oklch */ color: oklch(44.5% 0.195 281.6);
Tailwind
colors: {
  custom: {
    50: '#8970d0',
    500: '#4a37ba',
    950: '#000000',
  },
}
SCSS
$custom: #4a37ba;
$custom-light: #8970d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a37ba",
  "rgb": {
    "r": 74,
    "g": 55,
    "b": 186
  },
  "hsl": {
    "h": 248.702,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44543,
    "c": 0.19479,
    "h": 281.6
  },
  "luminance": 0.07733
}

Semantic roles & 50–950 ramp

primary
#4A37BA
secondary
#BEC885
accent
#DE4AC8
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4A37BA

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

Preview Lab → · Contrast checker → · Palette generator →

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