#4732C8#4732C8

#4732C8 is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 45.0% C 0.217 H 279.4°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#4732C8
RGBrgb(71, 50, 200)
HSLhsl(248, 60%, 49%)
HSVhsv(248, 75%, 78%)
CMYKcmyk(64.5%, 75%, 0%, 21.6%)
CIE-LABlab(33.54, 51.53, -74.24)
CIE-LCHlch(33.54, 90.37, 304.76°)
OKLaboklab(44.97% 0.0356 -0.2143)
OKLCHoklch(44.97% 0.217 279.4)
XYZxyz(14.1611, 7.7898, 55.3897)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4732C8 #B3C832
analogous
#3268C8 #4732C8 #9232C8
triadic
#4732C8 #C84732 #32C847
tetradic
#4732C8 #C83268 #B3C832 #32C892
square
#4732C8 #C83268 #B3C832 #32C892
split-complementary
#4732C8 #C89232 #68C832
monochromatic
#241A66 #362697 #4732C8 #7160D7 #9C91E3

Accessibility & contrast

On white

8.21
#4732C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4732C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4732C8
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4732C8#FFFFFF#000000##FFFFFF
##4732C81.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CC
Deuteranopia (green-blind)
#0049C5
Tritanopia (blue-blind)
#005D7B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4732c8;
/* rgb */ color: rgb(71, 50, 200);
/* oklch */ color: oklch(45.0% 0.217 279.4);
Tailwind
colors: {
  custom: {
    50: '#8b6dda',
    500: '#4732c8',
    950: '#000000',
  },
}
SCSS
$custom: #4732c8;
$custom-light: #8b6dda;
$custom-dark: #000000;
JSON
{
  "hex": "#4732c8",
  "rgb": {
    "r": 71,
    "g": 50,
    "b": 200
  },
  "hsl": {
    "h": 248.4,
    "s": 60,
    "l": 49.02
  },
  "oklch": {
    "l": 0.44969,
    "c": 0.21726,
    "h": 279.4
  },
  "luminance": 0.07791
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4732C8

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

Preview Lab → · Contrast checker → · Palette generator →

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