#4732B2#4732B2

#4732B2 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.8% C 0.191 H 282.2°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#4732B2
RGBrgb(71, 50, 178)
HSLhsl(250, 56%, 45%)
HSVhsv(250, 72%, 70%)
CMYKcmyk(60.1%, 71.9%, 0%, 30.2%)
CIE-LABlab(31.43, 44.81, -64.75)
CIE-LCHlch(31.43, 78.74, 304.69°)
OKLaboklab(42.83% 0.0404 -0.1866)
OKLCHoklch(42.83% 0.191 282.2)
XYZxyz(11.7725, 6.8343, 42.8097)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4732B2 #9DB232
analogous
#325DB2 #4732B2 #8732B2
triadic
#4732B2 #B24732 #32B247
tetradic
#4732B2 #B2325D #9DB232 #32B287
square
#4732B2 #B2325D #9DB232 #32B287
split-complementary
#4732B2 #B28732 #5DB232
monochromatic
#211752 #342582 #4732B2 #6753CF #9182DC

Accessibility & contrast

On white

8.87
#4732B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4732B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4732B2
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4732B2#FFFFFF#000000##FFFFFF
##4732B21.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB6
Deuteranopia (green-blind)
#0045B0
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4732b2;
/* rgb */ color: rgb(71, 50, 178);
/* oklch */ color: oklch(42.8% 0.191 282.2);
Tailwind
colors: {
  custom: {
    50: '#876cca',
    500: '#4732b2',
    950: '#000000',
  },
}
SCSS
$custom: #4732b2;
$custom-light: #876cca;
$custom-dark: #000000;
JSON
{
  "hex": "#4732b2",
  "rgb": {
    "r": 71,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 249.844,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42834,
    "c": 0.19092,
    "h": 282.2
  },
  "luminance": 0.06835
}

Semantic roles & 50–950 ramp

primary
#4732B2
secondary
#B9C57B
accent
#DF48C7
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4732B2

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

Preview Lab → · Contrast checker → · Palette generator →

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