#4A37C7#4A37C7

#4A37C7 is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.8% C 0.211 H 280.0°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#4A37C7
RGBrgb(74, 55, 199)
HSLhsl(248, 57%, 50%)
HSVhsv(248, 72%, 78%)
CMYKcmyk(62.8%, 72.4%, 0%, 22%)
CIE-LABlab(34.62, 48.94, -71.87)
CIE-LCHlch(34.62, 86.95, 304.25°)
OKLaboklab(45.76% 0.0367 -0.2073)
OKLCHoklch(45.76% 0.211 280)
XYZxyz(14.4958, 8.3106, 54.8620)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A37C7 #B4C737
analogous
#376CC7 #4A37C7 #9237C7
triadic
#4A37C7 #C74A37 #37C74A
tetradic
#4A37C7 #C7376C #B4C737 #37C792
square
#4A37C7 #C7376C #B4C737 #37C792
split-complementary
#4A37C7 #C79237 #6CC737
monochromatic
#261C67 #382A97 #4A37C7 #7566D5 #A096E2

Accessibility & contrast

On white

7.89
#4A37C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#4A37C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A37C7
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A37C7#FFFFFF#000000##FFFFFF
##4A37C71.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CB
Deuteranopia (green-blind)
#004CC4
Tritanopia (blue-blind)
#005F7C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4a37c7;
/* rgb */ color: rgb(74, 55, 199);
/* oklch */ color: oklch(45.8% 0.211 280.0);
Tailwind
colors: {
  custom: {
    50: '#8b70d9',
    500: '#4a37c7',
    950: '#000000',
  },
}
SCSS
$custom: #4a37c7;
$custom-light: #8b70d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a37c7",
  "rgb": {
    "r": 74,
    "g": 55,
    "b": 199
  },
  "hsl": {
    "h": 247.917,
    "s": 56.693,
    "l": 49.804
  },
  "oklch": {
    "l": 0.45764,
    "c": 0.21058,
    "h": 280
  },
  "luminance": 0.08312
}

Semantic roles & 50–950 ramp

primary
#4A37C7
secondary
#C5CD8C
accent
#E048CC
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4A37C7

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

Preview Lab → · Contrast checker → · Palette generator →

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