#4732CE#4732CE

#4732CE is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.6% C 0.224 H 278.8°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#4732CE
RGBrgb(71, 50, 206)
HSLhsl(248, 61%, 50%)
HSVhsv(248, 76%, 81%)
CMYKcmyk(65.5%, 75.7%, 0%, 19.2%)
CIE-LABlab(34.14, 53.33, -76.75)
CIE-LCHlch(34.14, 93.46, 304.80°)
OKLaboklab(45.57% 0.0342 -0.2216)
OKLCHoklch(45.57% 0.224 278.8)
XYZxyz(14.8761, 8.0758, 59.1554)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4732CE #B9CE32
analogous
#326BCE #4732CE #9532CE
triadic
#4732CE #CE4732 #32CE47
tetradic
#4732CE #CE326B #B9CE32 #32CE95
square
#4732CE #CE326B #B9CE32 #32CE95
split-complementary
#4732CE #CE9532 #6BCE32
monochromatic
#251A6C #36269D #4732CE #7363DA #A095E6

Accessibility & contrast

On white

8.03
#4732CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4732CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4732CE
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4732CE#FFFFFF#000000##FFFFFF
##4732CE1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056D2
Deuteranopia (green-blind)
#004ACB
Tritanopia (blue-blind)
#00607E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4732ce;
/* rgb */ color: rgb(71, 50, 206);
/* oklch */ color: oklch(45.6% 0.224 278.8);
Tailwind
colors: {
  custom: {
    50: '#8c6dde',
    500: '#4732ce',
    950: '#000000',
  },
}
SCSS
$custom: #4732ce;
$custom-light: #8c6dde;
$custom-dark: #000000;
JSON
{
  "hex": "#4732ce",
  "rgb": {
    "r": 71,
    "g": 50,
    "b": 206
  },
  "hsl": {
    "h": 248.077,
    "s": 61.417,
    "l": 50.196
  },
  "oklch": {
    "l": 0.45569,
    "c": 0.22426,
    "h": 278.8
  },
  "luminance": 0.08077
}

Semantic roles & 50–950 ramp

primary
#4732CE
secondary
#C7D18B
accent
#E543CF
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4732CE

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

Preview Lab → · Contrast checker → · Palette generator →

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