#4732CB#4732CB

#4732CB is a mid, highly saturated blue. Relative luminance 0.079; OKLCH L 45.3% C 0.221 H 279.1°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#4732CB
RGBrgb(71, 50, 203)
HSLhsl(248, 60%, 50%)
HSVhsv(248, 75%, 80%)
CMYKcmyk(65%, 75.4%, 0%, 20.4%)
CIE-LABlab(33.84, 52.43, -75.50)
CIE-LCHlch(33.84, 91.92, 304.78°)
OKLaboklab(45.27% 0.0349 -0.218)
OKLCHoklch(45.27% 0.221 279.1)
XYZxyz(14.5152, 7.9314, 57.2543)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4732CB #B6CB32
analogous
#326ACB #4732CB #9332CB
triadic
#4732CB #CB4732 #32CB47
tetradic
#4732CB #CB326A #B6CB32 #32CB93
square
#4732CB #CB326A #B6CB32 #32CB93
split-complementary
#4732CB #CB9332 #6ACB32
monochromatic
#251A69 #36269A #4732CB #7262D8 #9E93E4

Accessibility & contrast

On white

8.12
#4732CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4732CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4732CB
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4732CB#FFFFFF#000000##FFFFFF
##4732CB1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CF
Deuteranopia (green-blind)
#0049C8
Tritanopia (blue-blind)
#005E7D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4732cb;
/* rgb */ color: rgb(71, 50, 203);
/* oklch */ color: oklch(45.3% 0.221 279.1);
Tailwind
colors: {
  custom: {
    50: '#8b6ddc',
    500: '#4732cb',
    950: '#000000',
  },
}
SCSS
$custom: #4732cb;
$custom-light: #8b6ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#4732cb",
  "rgb": {
    "r": 71,
    "g": 50,
    "b": 203
  },
  "hsl": {
    "h": 248.235,
    "s": 60.474,
    "l": 49.608
  },
  "oklch": {
    "l": 0.45268,
    "c": 0.22076,
    "h": 279.1
  },
  "luminance": 0.07933
}

Semantic roles & 50–950 ramp

primary
#4732CB
secondary
#C6CF89
accent
#E444CE
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4732CB

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

Preview Lab → · Contrast checker → · Palette generator →

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