#4730C5#4730C5

#4730C5 is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.4% C 0.216 H 280.0°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#4730C5
RGBrgb(71, 48, 197)
HSLhsl(249, 61%, 48%)
HSVhsv(249, 76%, 77%)
CMYKcmyk(64%, 75.6%, 0%, 22.7%)
CIE-LABlab(32.88, 51.65, -73.57)
CIE-LCHlch(32.88, 89.89, 305.07°)
OKLaboklab(44.42% 0.0375 -0.2124)
OKLCHoklch(44.42% 0.216 280)
XYZxyz(13.7303, 7.4836, 53.5334)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4730C5 #AEC530
analogous
#3063C5 #4730C5 #9130C5
triadic
#4730C5 #C54730 #30C547
tetradic
#4730C5 #C53063 #AEC530 #30C591
square
#4730C5 #C53063 #AEC530 #30C591
split-complementary
#4730C5 #C59130 #63C530
monochromatic
#241863 #352494 #4730C5 #6E5BD7 #9A8CE3

Accessibility & contrast

On white

8.41
#4730C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4730C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4730C5
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4730C5#FFFFFF#000000##FFFFFF
##4730C51.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C9
Deuteranopia (green-blind)
#0048C2
Tritanopia (blue-blind)
#005B79
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4730c5;
/* rgb */ color: rgb(71, 48, 197);
/* oklch */ color: oklch(44.4% 0.216 280.0);
Tailwind
colors: {
  custom: {
    50: '#8a6cd8',
    500: '#4730c5',
    950: '#000000',
  },
}
SCSS
$custom: #4730c5;
$custom-light: #8a6cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#4730c5",
  "rgb": {
    "r": 71,
    "g": 48,
    "b": 197
  },
  "hsl": {
    "h": 249.262,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.44417,
    "c": 0.21565,
    "h": 280
  },
  "luminance": 0.07485
}

Semantic roles & 50–950 ramp

primary
#4730C5
secondary
#C2CD84
accent
#E444CB
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4730C5

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

Preview Lab → · Contrast checker → · Palette generator →

#4730C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva