#4732C9#4732C9

#4732C9 is a mid, highly saturated blue. Relative luminance 0.078; OKLCH L 45.1% C 0.218 H 279.3°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#4732C9
RGBrgb(71, 50, 201)
HSLhsl(248, 60%, 49%)
HSVhsv(248, 75%, 79%)
CMYKcmyk(64.7%, 75.1%, 0%, 21.2%)
CIE-LABlab(33.64, 51.83, -74.66)
CIE-LCHlch(33.64, 90.89, 304.77°)
OKLaboklab(45.07% 0.0354 -0.2155)
OKLCHoklch(45.07% 0.218 279.3)
XYZxyz(14.2784, 7.8367, 56.0072)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4732C9 #B4C932
analogous
#3269C9 #4732C9 #9232C9
triadic
#4732C9 #C94732 #32C947
tetradic
#4732C9 #C93269 #B4C932 #32C992
square
#4732C9 #C93269 #B4C932 #32C992
split-complementary
#4732C9 #C99232 #69C932
monochromatic
#241A67 #362698 #4732C9 #7161D8 #9D92E4

Accessibility & contrast

On white

8.18
#4732C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4732C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4732C9
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4732C9#FFFFFF#000000##FFFFFF
##4732C91.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CD
Deuteranopia (green-blind)
#0049C6
Tritanopia (blue-blind)
#005E7C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4732c9;
/* rgb */ color: rgb(71, 50, 201);
/* oklch */ color: oklch(45.1% 0.218 279.3);
Tailwind
colors: {
  custom: {
    50: '#8b6ddb',
    500: '#4732c9',
    950: '#000000',
  },
}
SCSS
$custom: #4732c9;
$custom-light: #8b6ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#4732c9",
  "rgb": {
    "r": 71,
    "g": 50,
    "b": 201
  },
  "hsl": {
    "h": 248.344,
    "s": 60.159,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45069,
    "c": 0.21843,
    "h": 279.3
  },
  "luminance": 0.07838
}

Semantic roles & 50–950 ramp

primary
#4732C9
secondary
#C5CF88
accent
#E344CD
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4732C9

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

Preview Lab → · Contrast checker → · Palette generator →

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