#4732C7#4732C7

#4732C7 is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.9% C 0.216 H 279.5°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#4732C7
RGBrgb(71, 50, 199)
HSLhsl(248, 60%, 49%)
HSVhsv(248, 75%, 78%)
CMYKcmyk(64.3%, 74.9%, 0%, 22%)
CIE-LABlab(33.44, 51.23, -73.82)
CIE-LCHlch(33.44, 89.85, 304.76°)
OKLaboklab(44.87% 0.0358 -0.2131)
OKLCHoklch(44.87% 0.216 279.5)
XYZxyz(14.0446, 7.7432, 54.7762)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4732C7 #B2C732
analogous
#3268C7 #4732C7 #9232C7
triadic
#4732C7 #C74732 #32C747
tetradic
#4732C7 #C73268 #B2C732 #32C792
square
#4732C7 #C73268 #B2C732 #32C792
split-complementary
#4732C7 #C79232 #68C732
monochromatic
#241965 #362696 #4732C7 #705FD7 #9C90E3

Accessibility & contrast

On white

8.24
#4732C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4732C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4732C7
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4732C7#FFFFFF#000000##FFFFFF
##4732C71.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CB
Deuteranopia (green-blind)
#0049C4
Tritanopia (blue-blind)
#005D7A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4732c7;
/* rgb */ color: rgb(71, 50, 199);
/* oklch */ color: oklch(44.9% 0.216 279.5);
Tailwind
colors: {
  custom: {
    50: '#8a6dd9',
    500: '#4732c7',
    950: '#000000',
  },
}
SCSS
$custom: #4732c7;
$custom-light: #8a6dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4732c7",
  "rgb": {
    "r": 71,
    "g": 50,
    "b": 199
  },
  "hsl": {
    "h": 248.456,
    "s": 59.839,
    "l": 48.824
  },
  "oklch": {
    "l": 0.4487,
    "c": 0.21609,
    "h": 279.5
  },
  "luminance": 0.07744
}

Semantic roles & 50–950 ramp

primary
#4732C7
secondary
#C4CE87
accent
#E345CD
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4732C7

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

Preview Lab → · Contrast checker → · Palette generator →

#4732C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva