#4732DA#4732DA

#4732DA is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 46.8% C 0.238 H 277.5°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#4732DA
RGBrgb(71, 50, 218)
HSLhsl(248, 69%, 53%)
HSVhsv(248, 77%, 85%)
CMYKcmyk(67.4%, 77.1%, 0%, 14.5%)
CIE-LABlab(35.36, 56.91, -81.66)
CIE-LCHlch(35.36, 99.54, 304.87°)
OKLaboklab(46.79% 0.0312 -0.2359)
OKLCHoklch(46.79% 0.238 277.5)
XYZxyz(16.3899, 8.6813, 67.1280)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4732DA #C5DA32
analogous
#3271DA #4732DA #9B32DA
triadic
#4732DA #DA4732 #32DA47
tetradic
#4732DA #DA3271 #C5DA32 #32DA9B
square
#4732DA #DA3271 #C5DA32 #32DA9B
split-complementary
#4732DA #DA9B32 #71DA32
monochromatic
#23167B #3220AF #4732DA #7666E3 #A49AED

Accessibility & contrast

On white

7.67
#4732DA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4732DA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4732DA
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4732DA#FFFFFF#000000##FFFFFF
##4732DA1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ADF
Deuteranopia (green-blind)
#004CD7
Tritanopia (blue-blind)
#006485
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4732da;
/* rgb */ color: rgb(71, 50, 218);
/* oklch */ color: oklch(46.8% 0.238 277.5);
Tailwind
colors: {
  custom: {
    50: '#8e6ee7',
    500: '#4732da',
    950: '#000000',
  },
}
SCSS
$custom: #4732da;
$custom-light: #8e6ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#4732da",
  "rgb": {
    "r": 71,
    "g": 50,
    "b": 218
  },
  "hsl": {
    "h": 247.5,
    "s": 69.421,
    "l": 52.549
  },
  "oklch": {
    "l": 0.46789,
    "c": 0.23801,
    "h": 277.5
  },
  "luminance": 0.08683
}

Semantic roles & 50–950 ramp

primary
#4732DA
secondary
#CFD88F
accent
#EC3CD6
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0716
muted
#7E7A84

Preview Lab

Preview with #4732DA

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

Preview Lab → · Contrast checker → · Palette generator →

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