#4732C5#4732C5

#4732C5 is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.7% C 0.214 H 279.8°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#4732C5
RGBrgb(71, 50, 197)
HSLhsl(249, 60%, 48%)
HSVhsv(249, 75%, 77%)
CMYKcmyk(64%, 74.6%, 0%, 22.7%)
CIE-LABlab(33.24, 50.62, -72.97)
CIE-LCHlch(33.24, 88.81, 304.75°)
OKLaboklab(44.67% 0.0363 -0.2106)
OKLCHoklch(44.67% 0.214 279.8)
XYZxyz(13.8140, 7.6509, 53.5613)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4732C5 #B0C532
analogous
#3267C5 #4732C5 #9032C5
triadic
#4732C5 #C54732 #32C547
tetradic
#4732C5 #C53267 #B0C532 #32C590
square
#4732C5 #C53267 #B0C532 #32C590
split-complementary
#4732C5 #C59032 #67C532
monochromatic
#241963 #352694 #4732C5 #6F5ED6 #9B8FE3

Accessibility & contrast

On white

8.30
#4732C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4732C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4732C5
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4732C5#FFFFFF#000000##FFFFFF
##4732C51.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C9
Deuteranopia (green-blind)
#0048C2
Tritanopia (blue-blind)
#005C79
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4732c5;
/* rgb */ color: rgb(71, 50, 197);
/* oklch */ color: oklch(44.7% 0.214 279.8);
Tailwind
colors: {
  custom: {
    50: '#8a6dd8',
    500: '#4732c5',
    950: '#000000',
  },
}
SCSS
$custom: #4732c5;
$custom-light: #8a6dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#4732c5",
  "rgb": {
    "r": 71,
    "g": 50,
    "b": 197
  },
  "hsl": {
    "h": 248.571,
    "s": 59.514,
    "l": 48.431
  },
  "oklch": {
    "l": 0.44672,
    "c": 0.21373,
    "h": 279.8
  },
  "luminance": 0.07652
}

Semantic roles & 50–950 ramp

primary
#4732C5
secondary
#C3CD86
accent
#E345CC
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4732C5

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

Preview Lab → · Contrast checker → · Palette generator →

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